Any of a group of organic compounds that includes sugars, starches, cellulose, and gums and serves as a major energy source in the diet of animals; they are produced by photosynthetic plants and contain only carbon, hydrogen, and oxygen, usually in the ratio