What is the series of events in an ecosystem called in which organisms transfer energy by eating and by being eaten?

The series of events in an ecosystem in which organisms transfer energy by eating and being eaten is called a food chain.