Stalemate
Stalemate is a draw. The side to move is not in check, but has no legal move. It is easy to cause one with a queen against a lone king: you take away the last square without giving check, and the game is drawn instead of won.
Check is the difference between stalemate and checkmate. The two lines below start from the same position. One queen move is a draw. The other is mate.
Other draws exist (neither side has enough material to mate, the same position repeats three times, fifty moves with no pawn move and no capture). They are not separate lessons here. Stalemate is the one beginners accidentally give away.
Stalemate
After Qe5 the black king is not in check, and a7, b7, and b8 are all denied. No legal move. Draw.
Mate from the same position
Qe8 checks along the eighth rank. The same three flight squares are covered, and this time the king is in check, so it is mate.