What is the relationship between predators and prey in an ecosystem and how does it impact the population dynamics of both species?