The number of oxygen is more in carbohydrates than in fats, usually. For instance, the chemical structure of glucose is C6H12O6 compared with oleic acid which is C18H34O2. Carbohydrates and lipids are biomolecules that contribute to cellular and biological processes. These are important because these are the source of energy, replication and reproduction among cells.