Heredity is the process by which traits are passed from parents to offspring through genes.