The portion of a gene or an mRNA which actually codes for a protein. Introns are not coding sequences; nor are the 5′ or 3′ untranslated regions (or the flanking regions, for that matter—they are not even transcribed into mRNA). The coding sequence in a cDNA or mature mRNA includes everything from the AUG (or ATG) initiation codon and inclusion of the stop codon.