Segment of a eucaryotic gene that consists of a sequence of nucleotides that will be represented in messenger RNA or the final transfer RNA or ribosomal RNA. In protein-coding genes, exons encode amino acids in the protein. An exon is usually adjacent to a noncoding DNA segment called an intron.