The study of patterns and causes of disease in populations, including factors such as age, gender, and geographic location.