Solution:
A Preposition is a word that usually tells us about the location, direction, time of occurrence, and the relationship between two objects or things or words in a sentence. Option D is correct because it is the preposition in this sentence. Option A is wrong because it is the noun. Option B is wrong because it is the verb. Option C is wrong because it is the predicate.