Which property below is shared by both carbohydrates and lipids

A. Both have the same number of oxygen atoms.
B. Both are sources of cellular energy.
C. Both are dissolvable in water.
D. Both have the same proportion of carbon-hydrogen bonds.