How is the underlined word used in the sentence?

The chef prepared ten salads for the banquet.



A.
object of a preposition


B.
direct object


C.
subject complement


D.
direct address
Underlined word is salads