Carbon can form diverse and complex molecules and is the main component of biological molecules besides water. It can bond up to four other atoms in chains, branches and rings to form the carbon skeletons of organic compounds. The number and arrangement of functional groups like hydroxyl, carbonyl, carboxyl, amino and phosphate groups attached to these carbon skeletons determine each molecule's unique properties and ability to undergo chemical reactions. Isomers are compounds with the same molecular formula but different structures or spatial arrangements that can have different properties.