OH is an alcohol group (when used as a functional group in an organic compound as it is here) Otherwise, OH is a hydroxyl group when used in an inorganic compound There are 2 carbon, 7 hydrogen, and 1 oxygen atom. The reason that the formula is written this way is to denote that a hydrogen is attached to the oxygen atom rather than one of the carbon atoms.