Exons are the coding sequences in a gene that are transcribed into mRNA and translated into proteins, playing a crucial role in gene expression. They are interspersed with introns, which are non-coding regions that are removed during RNA splicing to produce a mature mRNA transcript.