You use "qui" for the subject of a sentence and "que" for the direct object.
Qu'est-ce qui passe ? -- What is happening?
In this sentence, "what" is the subject in English and "qui" in French. "Que" can never be the subject.
It is a bit tricky to explain so I'm going to refer you here:-
Hope it helps
Sign in to submit your answer
Don't have an account yet? Join today
Test your French to the CEFR standard