Genes = A segment of DNA
Genes are a segment of DNA which codes for the production of a specific trait such as:
Eye colour, or
Height
It depends on which gene you are discussing.
An orange segment wears jeans (genes).
Example
NOTE:
A gene segment on a chromosome is often represented in diagrams by bands of colour around the chromosome, see below: