State and municipal governments get funding from various state-legalized gambling activities, including lotteries, casinos, pari-mutuel wagering (such as horse racing), sports wagering, and video games.