んです — when should I actually add this vs just using plain です/ます?

I get that んです adds 'explanation nuance' but in practice I never know when a sentence NEEDS it. Are there clear trigger situations, like answering a 'why' question?
Post
沐學 Mizuru