Lottery is a system of allocating prizes to participants by a process that relies entirely on chance. Prizes may be cash or goods of varying value.

Although the casting of lots for deciding issues and determining fates has a long record in human history, it was not until the 14th century that lottery games became widespread in Europe. The earliest state-sponsored lotteries took the form of traditional raffles, wherein the public bought tickets in advance of an event, which was often weeks or months in the future.

Prize amounts were generally small, but the number of winning tickets increased with ticket sales. Lotteries were popular because they were easy to organize and required relatively little capital. Moreover, the proceeds could be used to provide material aid to the needy.

The lottery has a particular appeal for the poor because it promises riches in an environment of limited social mobility and inequality. However, most people are not aware that the lottery is a form of gambling that has significant negative consequences for the poor and problem gamblers.

Rather than explaining the odds of winning, most state-sponsored lotteries promote their products by portraying themselves as civic duty to the community. This message, which is coded in the messages that people receive on television and from billboards, is at odds with the fact that state-sponsored lotteries raise very little money for states. In addition, they often rely on deceptive advertising techniques to bolster revenues and entice the public to purchase tickets.