A caterpillar eats an oak leaf. Which of the following best describes the energy transfer in this situation?
A. Both the caterpillar and the leaf gain energy.
B. Energy is transferred from the leaf to the caterpillar.
C. Decomposers in the leaf obtain energy from the caterpillar.
D. The oak tree gains energy when the caterpillar eats the leaf.