Biomagnification occurs through a series of steps. First, toxic substances like pesticides or heavy metals enter the environment, often through industrial processes or agricultural practices. These toxins are then absorbed by primary producers such as plants or phytoplankton. As these producers are consumed by herbivores, and those herbivores are subsequently consumed by carnivores, the concentration of toxins increases at each trophic level.