All carbohydrates are made up of carbon, oxygen, and hydrogen.
The chemical formula for Glucose is

.
The chemical formula for Fructose is the same as that of Glucose. The difference between the two is how they are structured.
The chemical formula for Sucrose is

.
As you can see in the chemical formulas of Glucose, Fructose, and Sucrose, they are all made up of the elements carbon, hydrogen, and oxygen.