〜んです / 〜のだ This pattern is used to explain a situation or to ask for an explanation. It ties what you say to what is happening now, so it often sounds more natural than plain です.
Formation
plain form + んです ・ noun / な-adjective + な + んです
| 痛い | 痛い + んです | 痛いんです |
| 行く | 行く + んですか | 行くんですか |
| 休み | 休み + な + んです | 休みなんです |
| 好き | 好き + な + んです | 好きなんです |
Examples
どうしたんですか。— 頭が痛いんです。
What's wrong? — I have a headache.
明日、どこに行くんですか。
So where are you going tomorrow?
すみません、道がわからないんですが…
Excuse me, I'm lost…