Genes are the basic unit of heredity. This means that genes determine what traits are passed down from a mother and father to their child. Eye color, height, and hair color are some examples of the traits that are controlled by genes. Genes exist inside the cells that make up living things.