Nucleotides are molecules that, when joined together, make up the structural units of RNA and DNA. Nucleotides main function is to provide the chemical energy needed in the synthesizing of molecules the main function in metabolism.