Trophic levels refer to the different levels of a food chain in an ecosystem, from producers to top predators.