In no-limit poker, to bet all of your chips as a sign of total confidence in your hand.
If you have a very good hand, go all-in to win the maximum number of chips or to scare off mediocre hands so they won't catch the cards they need to beat yours. If you have a
bad hand, you can
bluff by going all-in and hope everyone
folds.