In each ecosystem, there are many feeding relationships. A food chain represents a flow of energy through an ecosystem, and always begins with an organism called a producer, which is able to trap light energy and convert it to chemical energy. An organism of this type is eaten by a herbivore, which is a kind of consumer that feeds only on plant material. This type of organism is, in turn, eaten by a carnivore (an organism that consumes other animals).