Throughout the centuries, lotteries have been used for many purposes, including financing roads, canals, fortifications, and libraries. While some governments have outlawed lotteries, others endorse them.
Lotteries are usually run by a state government. The government usually offers a website for players to purchase tickets, and there are sometimes customer support staff available.