Lottery is a form of gambling in which people purchase tickets to win prizes. Most states have lotteries, and they offer a variety of games. Prizes can range from cash to valuable items such as cars or homes. The odds of winning a lottery prize vary depending on how many tickets are sold, the price of a ticket, and the number of numbers selected. The odds of winning the top prize in a lottery are usually very low, compared to other types of gambling.

The first recorded lotteries were held during the Roman Empire, and they were primarily a way to distribute goods such as dinnerware to guests at parties. In the 15th century, towns in the Netherlands began to hold public lotteries to raise money for town fortifications and the poor. These early lotteries were known as sortilegij.

In the 1960s, many states enacted lotteries to increase their revenue streams without raising taxes on middle- and working-class people. These state governments believed that lotteries were an important source of revenue that would allow them to expand their social safety nets without onerous tax increases on those who could least afford it.

State politicians often promote the benefits of a lottery to voters, but they do not mention that these lotteries are inherently gambling activities. They also do not explain how much of a difference the proceeds of these lotteries make in broader state revenues. They instead rely on the message that everyone loves to gamble, and that since so many people do it anyway, the government might as well collect some of that money through lotteries.