Upon arriving at the science lab, Sarah eagerly prepared her experiment for the upcoming demonstration.

the answer is prepositional
Why is this answer correct?

The answer is correct because the word "for" is a preposition. Prepositions show a relationship between a noun (or pronoun) and another word in the sentence, indicating location, time, direction, or manner. In this case, "for" shows the purpose or reason for Sarah's preparation of her experiment.