Energy flows into the producers of an ecosystem through the process of

Decomposition

Cellular respiration

Carbon fixation

Photosynthesis