〜の / 〜んです
Nominalizer の / explanatory ん
Meaning
Two related uses: (1) nominalizes a verb phrase ("the one that ~"); (2) explanatory の/ん — explains a situation or seeks an explanation ("the thing is... / what about...?").
Formation
[plain form] + の / んです (polite: んです; casual: の)
Notes
Polite form: んです (or のです, more written). Softens questions and explains reasons. Spoken ん is common: どうしたんですか "What's the matter?". Also: 〜のは〜だ "the one that does ~ is...".
Examples
どうしたんですか。
What's the matter? (explanatory; I notice something is wrong)
Breakdown
頭(あたま)が痛(いた)いんです。
I have a headache. (explaining why)
Breakdown
一番(いちばん)大(おお)きいのはどれですか。
Which one is the biggest? (の = nominalizer)
Breakdown
昨日(きのう)来(き)たのは田中(たなか)さんです。
The one who came yesterday is Tanaka-san.
Breakdown
時間(じかん)がないんです。だから、急(いそ)いでいます。
The thing is, I don't have time. That's why I'm in a hurry.
Breakdown
日本語(にほんご)を勉強(べんきょう)しているのは楽(たの)しいからです。
It's because studying Japanese is fun. (〜のは〜からだ)