[verb (plain form)] + のは~だ [i-adj (plain form)] + のは~だ [na-adj な] + のは~だ [noun な] + のは~だ
Note: The emphasized element (who, what, when, where, why) fills the ~ slot before だ.
The structure のは~だ is used to nominalize a clause with の and then highlight or identify a specific piece of information about it using は〜~だ. This creates what is sometimes called a cleft sentence – similar to English constructions like "It is … that …" or "What … is …".
By restructuring a sentence with のは~だ, you can draw attention to who, what, when, where, or why something happened.
Compare the neutral sentence わたくし私はまいあさ毎朝こうひいコーヒーをのむ飲む ("I drink coffee every morning") with the cleft version above – the cleft version specifically highlights coffee as the key piece of information.
A very common use of のは~だ is to explain the reason for something. In this case, the predicate typically ends with からだ or ためだ.