Energy in the ecosystem come ultimately from the sun in the from of Heat and Light, Light is utilised by the plants and algae which sutstain life. In certain systems the energy may come from the heat energy provided by geothermal vents heating water.