Carrying capacity is the maximum population size of a species that an environment can sustain indefinitely, given the available resources like food, water, habitat, and other necessities.