Most ecosystems get energy from sunlight.
Sunlight is a form of electromagnetic energy.
Ecosystems get energy from electromagnetism.
what do ecosystems get energy from?

A: colors of the spectrum
B: fossil fuels
C: during the day
D: our star
E: electromagnetism
F: In their leaves
G: rays or beams
H: sun's heat