The purpose of the underlined sentence is:
C. to transition to describing the way plants get glucose
This sentence introduces the process of photosynthesis, which explains how plants produce glucose, thus serving as a transition from discussing how animals obtain glucose from food to how plants generate their own glucose.