The study of populations of organisms, including their size, distribution, and dynamics, and the factors that affect them.