Study of how traits are passed from parents to offspring.