Even though we do not have the poem or an excerpt, we can still answer this question based on the type figurative language provided.
Answer:
The italicized example of figurative language contributes to the meaning of the poem because:
D. The simile establishes that the apple is attractive and tempting to the speaker.
Step-by-step explanation:
Hyperbole is a figure of speech that uses exaggeration to express an idea, a feeling, an action etc. Example: I've told you about this a million times.
A simile is a figure of speech used with the intention of making a comparison - stating a similarity - between two different things. It uses words such as "as" or "like".
We can see that "shines like the sun" does not fit the description of a hyperbole, but it does fit the description of a simile. Therefore, we can eliminate options B and C.
Between options A and D, the best one seems to be the last. "Shines like the sun" on its own does not convey a bad idea, such as something being mushy. It makes us think of something being really, strongly bright or shiny - to the point of being compared to the sun. That is why letter D is the best option.