Let's break it down:
* y: This is the conjunction "and."
* qué: This is the interrogative pronoun "what."
* frutas: This is the noun "fruits."
* necesitan: This is the verb "to need" in the third person plural present tense.
Therefore, the entire phrase is a question asking about the fruits that are needed.