Nucleic acids are biopolymers essential for all known forms of life. They are composed of monomers known as nucleotides, which consist of a sugar, a phosphate group, and a nitrogenous base. The two primary types of nucleic acids are DNA (deoxyribonucleic acid) and RNA (ribonucleic acid). DNA contains the genetic blueprint of the organism, while RNA translates this blueprint into proteins.