A five-carbon sugar, also known as pentose, is a type of carbohydrate that contains five carbon atoms in its molecular structure. These sugars play a crucial role in the formation of nucleotides, which are the building blocks of nucleic acids like DNA and RNA. The two main types of five-carbon sugars are ribose and deoxyribose, each differing slightly in their structure and function within nucleic acids.