A lottery is a game in which players purchase tickets for a chance to win a prize. The prizes may be money, goods or services. The odds of winning depend on the number and type of tickets sold. Most states hold lotteries to raise funds for public purposes, such as education and public works. Some states hold a state-wide lottery and others operate a smaller, regional lottery. The first recorded lotteries were held in the Low Countries in the 15th century. Towns used them to fund construction of walls and town fortifications, and to help the poor.

Lotteries are a form of gambling, and as such are subject to the same ethical concerns as other forms of gambling. They also are criticized for their role in promoting compulsive gambling, and for having a regressive impact on lower-income groups.

Despite the negative aspects, state lotteries are popular. In a study of lottery data from the United States, 60 percent of adults report playing at least once a year. Lottery revenues are a significant source of income for many families. And they provide a safe, easy and relatively painless way for states to raise funds.

Lotteries are based on the assumption that people will always want to gamble and that governments might as well cash in on this inextricable human impulse. But this assumption is flawed. People who buy tickets are not just speculating about the outcome of a lottery drawing; they’re also creating new generations of gamblers and fueling the demand for more games.