The study of the inheritance of traits and genetic diseases, including the role of DNA, genes, and chromosomes.