In the genetic code, codons are triplets of nucleotides that correspond to specific amino acids or stop signals during protein synthesis. Synonymous codons are different codons that encode the same amino acid. This redundancy in the genetic code is due to the fact that there are 64 possible codons but only 20 amino acids.