Genetics is the study of genes, genetic variation, and heredity (inherited characteristics) in living organisms.