Topic summary
Protein-coding genes

Extracted from the Wikipedia article Gene.
Definitions
In spite of the fact that both protein-coding genes and noncoding genes have been known for more than 50 years, there are still a number of textbooks, websites, and scientific publications that define a gene as a DNA sequence that specifies a protein. In other words, the definition is restricted to protein-coding genes. Here is an example from a 2021 article in American Scientist.