What I meant was they act like an adjective/adverb in some cases but you are right that prepositional phrase don't need adjective/adverb, unless the adjective is modifying a noun in the prepositional phrase or an adverb is modifying the prepositional phrase or anything in the clause. Do you understand/agree?

Interested in Language