Which is a function of genes in a cell?

A) To determine the traits of the cell.
B) To produce food for the cell.
C) To move materials out of the cell.
D) To store energy for the cell.