Genes contain DNA that controls the production of RNA and proteins. DNA is made up of nucleotides containing a sugar, phosphate, and one of four nitrogenous bases. The order of bases in DNA forms the genetic code, with three bases making up a codon that controls the insertion of amino acids in proteins. RNA is similar to DNA but contains the sugar ribose instead of deoxyribose and the base uracil instead of thymine. During transcription, an enzyme helps copy the genetic code from DNA into messenger RNA, which then directs protein production. Cellular functions are regulated by genetic and enzyme mechanisms, with genes and enzymes able to be activated or inhibited in feedback loops that control levels of biochemicals and proteins.