Molecular formula of glucose is C6H12O6.
Glucose has an aldohexose structure. In other words, glucose molecule contains one aldehydic, that is, formyl group and the remaining five carbons carry one hydroxyl group (-OH) each.
The six carbons in glucose form one straight chain.