Genes are DNA segments that carry instructions for building proteins, influencing traits like eye color, height, and disease risk.