A sequence of three adjacent nucleotides on a strand of a nucleic acid (such as DNA) that constitutes the genetic code for a specific amino acid that is to be added to a polypeptide chain during protein synthesis. Some amino acids are coded for by more than one codon, and some codons do not signal a particular amino acid but rather signal a stop to protein synthesis.