The study of how genes are passed down from one generation to the next and how they influence traits and diseases.