They provide the main source of energy for the body, and they also function to flavor and sweeten foods. Carbohydrates range from simple sugars like glucose to complex sugars such as amylose and amylopectin. Nutritonists estimate that carbohydrates school make up about one-fourth to one-fifth of a person's diet.