Carbohydrates, lipids, proteins, and nucleic acids are the four major macromolecules that make up living things. Carbohydrates include sugars and starches and are used for energy storage. Lipids are composed of fatty acids and glycerol and function in energy storage, protection, and insulation. Proteins contain amino acids and perform a variety of functions including growth, energy production, and pH buffering. Nucleic acids like DNA and RNA contain nucleotides and store and transmit genetic information that directs cellular functions. These macromolecules are formed through dehydration synthesis and broken down through hydrolysis.