Which process will result in a gain of energy in

an ecosystem?

(1) photosynthesis in algae cells

(2) digestion in hummingbirds

(3) ATP synthesis in fungi

(4) respiration in maple tree cells