With this move White gives checkmate. The Black King cannot take the White queen because the White Bishop on c4 defends it. Further, moving the Black King to e7(Ke7) does not allow it to escape capture on the next move, so this position is checkmate, and White has won the game.