A lottery is a form of gambling in which numbers are drawn at random. Some governments outlaw lotteries while others endorse them, organizing national or state-level games. Many people are attracted to the opportunity to win big. Regardless of why you play the lottery, it’s important to understand the basics of this popular gambling game.