Lottery is a form of gambling that involves picking numbers for a chance to win a prize. It is a form of legalized gambling and is operated by state governments. While most people play for money, some people use it to fulfill a charitable goal. While lottery revenue is growing, some critics say that it masks a greater problem and encourages people to gamble beyond their means.

The first known lotteries were held in the Low Countries in the 15th century, raising money to build town fortifications and to help poor people. However, records from the Roman Empire suggest that lotteries existed much earlier. Roman citizens participated in lotteries to receive prizes such as dinnerware or jewelry, although the prizes were of unequal value. Later, the Romans began to hold lotteries for public works projects.

In the 1700s, colonial America relied heavily on lottery to raise funds for public works and other needs. Benjamin Franklin sponsored a lottery to pay for cannons for Philadelphia and Thomas Jefferson tried to sponsor one to relieve his crushing debts. At the time, there was a belief that lotteries were a hidden tax and that they did not improve society, but this belief has faded as lottery revenues have increased.

Many states run lotteries as a business, with an emphasis on increasing revenues. This approach has led to advertising that focuses on persuading target groups to spend their money on tickets, and this can have negative consequences for the poor and problem gamblers. In addition, some lottery advertising is deceptive: It often inflates the prize money (in reality, the winning sum would be paid out in annual installments over 30 years, and inflation dramatically erodes the value of the prize).