Time control


I'm not sure this will answer you question or not but:
https://support.chess.com/customer/en/portal/articles/1444850-how-do-the-time-controls-work-in-the-live-chess-
Also, if a player runs out of time (flags) then they lose the game unless their opponent does not have sufficient mating material. In that case, it is a draw:
https://support.chess.com/customer/en/portal/articles/1444798-how-do-i-claim-a-draw-
Last part of that link explains what is considered sufficient material on Chess.com