Genetics is the branch of biological sciences which deals with the study of genes, genetic variation, and heredity in living organisms. Heredity is the transfer of characters from one generation to the other.