Step 1: Understanding the Concept
A nucleotide has a nitrogen base, a sugar and a phosphate group.
Step 2: Sugar in Nucleic Acids
The sugar is ribose in RNA and 2-deoxyribose in DNA. Both have five carbon atoms.
Step 3: Compare the options
Five-carbon sugars are pentoses.
Final Answer:
The sugar involved is a pentose.
\[ \boxed{\text{(D) }\text{Pentose}} \]