Stop codons are specific codons (UAA, UAG, and UGA) on mRNA that signal the termination of protein synthesis. When a ribosome encounters a stop codon, it releases the completed protein chain.