To checkmate the opponents king by putting a piece in a position where it could theoretically take the king, and the king cannot move away, block, or take the attacking piece. The game ends without the king actually being taken, however.
Chat with our AI personalities
If you are referring to the phases of the game, then they are the opening game, the middle game, and the end game.