user8097: Why would black move their knight (b8) to d7 vs taking the bishop (f5) with the queen? Click the link to see an interactive version, can someone explain this to me, I see no reason for black to lose their queen?

Source

user2042: If Black takes the bishop on f5 then White plays Qd8 with checkmate.
Black plays Nd7 in order to prevent checkmate.

8097: <p>Why would black move their knight (b8) to d7 vs taking the bishop (f5) with the queen? Click the link to see an interactive version, can someone explain this to me, I see no reason for black to lose their queen?</p>

<p><a href="https://i.stack.imgur.com/h13c5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h13c5.png" alt="board"></a></p>

<p><a href="https://www.chesscademy.com/tactics/10326" rel="nofollow noreferrer">Source</a></p>
 2042: <p>If Black takes the bishop on <code>f5</code> then White plays <code>Qd8</code> with checkmate.</p>

<p>Black plays <code>Nd7</code> in order to prevent checkmate.</p>
