Grammar
N4AI-drafted〜んです/〜のです
explanatory 'it's that ~'
Formation
普通形 + んです(のです)※ な形容詞・N は 〜なんです
Usage
んです connects a statement to the situation at hand: giving a reason, asking for an explanation, or introducing background before a request. のです is the written/formal form; んです is the spoken form, and casual speech uses 〜んだ. Overusing it makes plain statements of fact sound like excuses, so simple information (「これは本です」) does not take んです.
Examples
すみません、道が分からないんです。
すみません、みちがわからないんです。
Excuse me, the thing is I don't know the way.
どうして昨日休んだんですか。
どうしてきのうやすんだんですか。
Why were you absent yesterday?
来月国へ帰るんです。それで、パーティーができないんです。
らいげつくにへかえるんです。それで、パーティーができないんです。
I'm going back to my country next month. That's why I can't hold the party.