Fact 1: Energy enters ecosystems in the form of sunlight or chemical compounds. 
Fact 2: Energy is a basic necessity of an ecosystem.
The basic necessity of an ecosystem enters in the form of sunlight.