Based on the text how does someone win in Texas Hold 'em?

Texas hold 'em (also known as Texas holdem, hold 'em, and holdem) is one of the most popular variants of the card game of poker. Two cards, known as hole cards, are dealt face down to each player, and then five community cards are dealt face up in three stages. The stages consist of a series of three cards ("the flop"), later an additional single card ("the turn" or "fourth street"), and a final card ("the river" or "fifth street"). Each player seeks the best five card poker hand from any combination of the seven cards; the five community cards and their two hole cards. Players have betting options to check, call, raise, or fold. Rounds of betting take place before the flop is dealt and after each subsequent deal. The player who has the best hand and has not folded by the end of all betting rounds wins all of the money bet for the hand, known as the pot. In certain situations, a "split-pot" or "tie" can occur when two players have hands of equivalent value. This is also called a "chop-pot". Texas hold 'em is also the H game featured in HORSE and in HOSE.

In Texas Hold 'em there are two main ways to win. You can win by obtaining the highest possible hand utilizing the two cards that only you possess (the hold cards) and the five community cards on the table, or you outlast the rest of the players after each round of betting without folding. There are sometimes ties and in those situations the pot is split evenly.