Why; for what reason — a question word asking for cause or reason (similar to 'どうして').
なぜそんなことをしたのですか?
Why did you do such a thing?
なぜ彼が来なかったのか理由を教えてください。
Please tell me why he didn't come.
試験の点が下がった。なぜなのか分からない。
My exam score went down. I don't know why.
なぜなら、雨が降っていたからです。
Because it was raining.