what I needed
I bought what I needed.
Tom le dio a Mary lo que necesitaba.
Tom gave Mary what she needed.
Tom tenía algo de lo que necesitaba conversar con Mary.
Tom had something he needed to talk to Mary about.
I got what I needed.
It's what I needed.
What I needed.
Tom me dijo lo que necesitaba saber.
Tom told me what I needed to know.
I didn’t buy what I needed.
He/She didn't buy what he/she needed.
Tom dejó bastante claro lo que necesitaba.
Tom made it pretty clear what he needed.