A codon is a sequence of three nucleotides in messenger RNA (mRNA) that corresponds to a specific amino acid or a stop signal during protein synthesis. Each codon plays a crucial role in translating the genetic information encoded in DNA into proteins, which are essential for various cellular functions. The sequence of codons determines the order of amino acids in a protein, influencing its structure and function.