Another way to say "eating an apple is for getting energy." is "Apples supply energy."