Another way to say "The sun provides energy." is "Energy is provided by the sun."