Trait-mediated effects occur when changes in the traits of an organism, often due to the presence of predators, affect the interactions and dynamics within an ecosystem. These effects highlight the role of non-lethal factors in shaping ecological communities, influencing behaviors such as foraging, reproduction, and habitat use that ultimately reverberate through the food web.