Bg8+, Kxg8, and finally Qh7# so you win.
I do not understand this move


The replies are correct. In addition, you might want to know about the train of thought that leads to making that move. And the problem is a bit more complex than suggested, but the solution is still correct. If I may...
1. I wish the positions of my Queen and Bishop were reversed, because then it would be checkmate. If only the Bishop weren't there—I don't need it.
2. Wait, if I play Bg8+, it's a forcing move (a check), and Black has only a few moves in response. (Forcing lines of play are easy to calculate in advance, and if you aim for the King you'd best not miss.)
- ... Bh6 blocks the Rook's check, but allows Qh7++. (Think flexibly—instead of your Rook protecting your Queen, now your Bishop and Queen protect each other.)
- ... Bh4 allows the same checkmate.
- ... Qh2 or Qh3 lets me just take her with check. Black loses the Queen for nothing.
- ... Qh4 also blocks the Rook's check, and now the Black Bishop protects her, but still allows the mate one move later: after Rxh4+, either the King takes the Bishop, allowing Qh7++, or Black's Bishop takes White's Rook and allows Qh7++. The game is over either way.
3. All those lines end with a checkmate when I play Qh7!
Hello guys,
New to chess here. I am doing some problems (with the rating) and cannot figure out this move the computer asked me to do. I am playing the whites and the computer ask me to go BG8. But to me that is a bad move as the king will be able to take my bishop. Do you know why ? Thanks.