In biology, the word gene has two meanings.

The Mendelian gene is a basic unit of heredity. This is the one described in the book The Selfish Gene. The molecular gene is a sequence of nucleotides in DNA that is transcribed to produce a functional RNA.