Here are some ways for it to be a draw. Stalemate is where you make the opponent unable to move but they are not in check, 50 move rule is where the game goes on for 50 move without a pawn move or a capture, 3 fold repetition is where the same position happens 3 times in a row, insufficient material is where no side can checkmate the other even with perfect play, and timeout vs insufficient material is where the opponent times out and has material to mate but the other does not have material to mate.