The lottery is a game of chance that involves paying a small amount of money in exchange for a chance to win a large prize. It’s a common form of fundraising, especially for public works projects and charities. Its roots date back centuries. The Bible records that Moses was instructed to divide land among Israel’s people by lot, and Roman emperors used lotteries to give away slaves and property during Saturnalian feasts.

In the modern sense of the word, the lottery is a game where paying participants choose groups of numbers to match those randomly selected by machines. Prizes, usually in cash, are awarded to those who select enough numbers to match those drawn. The first publicly organized lotteries in the Western world arose in the 15th century, with towns in Burgundy and Flanders using them to raise funds for town fortifications and the poor. Francis I of France made them popular in the 17th century.

It’s no secret that the odds of winning are very low, but that doesn’t seem to stop people from buying a ticket. In fact, the most committed players spend a good portion of their incomes on tickets.

The reason? It’s hard to let go of the idea that a little bit of luck can make all the difference. That’s what lottery marketing capitalizes on. The big jackpots draw attention and create a sense that someone has to win—even though the odds are astronomically bad.