if taking in something is used to get something else then that something is a source of that something else & eating / taking in food is used to get nutrients / energy by animals / living things
food is a source of energy for animals / plants