A building block for nucleic acids (the molecules inside cells that carry genetic information). Nucleotides are attached end-to-end to form the nucleic acids DNA and RNA.