Carbohydrates are polyhydroxy (two or more) aldehyde or ketone compounds, which can become organic compounds after hydrolysis. Chemically, because it is composed of carbon, hydrogen and oxygen, similar to the polymerization of carbon and water in the chemical formula, it is also called carbohydrate.
References:
Baidu encyclopedia-sugar