Final answer:
The correct sequence showing how energy flows in an ecosystem is sun - producer - consumer - decomposer. Producers capture energy from the sun to make food, consumers eat the producers and sometimes other consumers, and decomposers break down organic material to complete the cycle.
Step-by-step explanation:
The flow of energy in an ecosystem correctly follows the sequence: sun - producer - consumer - decomposer. The energy originates from the sun, which is captured by producers, such as plants, through photosynthesis. These producers create food in the form of glucose, which provides energy for themselves as well as for the consumers that eat them. Consumers include herbivores, carnivores, and omnivores. After these organisms die or produce organic waste, decomposers break them down and release inorganic molecules back into the environment, completing the cycle.
A food chain diagram can represent this single pathway by which energy flows through the organisms in an ecosystem. In a typical food chain, the producers are always at the beginning because they bring energy into the ecosystem. The sequence progresses through the various consumers according to who eats whom, and ends with the decomposers, which digest matter and return nutrients back to the soil or water, making them available for producers again.