Genetics deals with heredity and variation