The study of how traits are passed from parent to offspring