Lottery is a gambling game in which players pay a small sum of money for a chance to win a larger sum of money. While it is generally considered a harmless form of gambling, it can become addictive and has been linked to financial problems. It has also been criticized for its alleged regressive impact on lower-income groups.

Although a lottery is technically a form of taxation, it has traditionally won broad popular support because its proceeds are viewed as benefiting a specific public good such as education. This argument is particularly persuasive during periods of economic stress because it reduces the fear of tax increases or cuts in public programs. However, the popularity of a state’s lottery is not necessarily connected to its actual fiscal health, as lotteries have been used to raise funds for a variety of purposes even when the economy was robust.

While most of the money from a lottery is paid out as prizes, the administrators of the lottery keep a portion for administrative costs such as advertising and paying commissions to retailers that sell tickets. In addition, a smaller portion may be earmarked for funding gambling addiction programs and other state initiatives.

The first known European lotteries were held as amusement at dinner parties, with guests receiving tickets that were subsequently raffled for fancy items such as dinnerware. This type of lottery was later introduced to the United States by colonists who organized it to raise money for the construction of roads, canals and churches. Lotteries have since been widely adopted in the United States and have raised billions of dollars for state governments.