It was ... that ... (clefts for emphasis) (B2 Grammar)

To put the spotlight on one part of a sentence, wrap it in It is / was + the part + that (or who for a person). The spotlighted part sits in the middle.

It was ... that ...

Negative and question clefts

The It ... that cleft also works in the negative and as a question. To deny that one part is the focus — often to correct someone — use It wasn't / isn't + the part + that / who. To ask which part is in focus, front the sentence with Was it / Is it + the part + that / who ... ? In both, keep the that / who when the focus is the one doing the action (It wasn't the noise that woke me), because dropping it leaves the second half with no subject. When the focus is the thing the action is done to, it can be left out — It was Sam I saw, alongside It was Sam that I saw — but keeping it is always safe.

What I need is ...

Another way is to start with What + the rest, then is / was + the spotlighted part. This saves the important idea for the end.

All I want is ... (the only thing)

To say something is the only thing, start with All + the rest, then is / was + that one thing. All is treated as a single idea here, so the linking verb is is / was, not "are / were".