Genetics is a branch of biology that deals with study of heredity and variation. The passing of characters from parents to offspring or from one generation to next generation is generally defined as heredity or inheritance.