Throughout history, people have been playing the lottery. Lotteries are a form of gambling that are operated by states in the US. There are 45 states currently operating lotteries. The proceeds are distributed to a variety of programs, including education, law enforcement, problem gambling treatment, and other services. Often, jackpots can reach millions of dollars.