Proteins are chains of amino acids. Each amino acid has an amino group, a carboxyl group, a hydrogen atom and a variable R group on the same carbon. Two amino acids join by a peptide bond (–CO–NH–), with the loss of one water molecule. The order of amino acids decides how the chain folds, and the folded shape decides what the protein does.
Lipids are not polymers. They are grouped together because they do not dissolve in water but dissolve in organic solvents. A triglyceride is glycerol joined to three fatty acids by ester bonds, and it stores energy. A phospholipid has a phosphate group in place of one fatty acid, giving a water-loving head and two water-hating tails, which is why it forms membranes.