Buying a lottery ticket is a simple process. You buy a ticket and put in a few dollars for a chance to win big. The ticket features a specific set of numbers, and the state or city that runs the lottery gets the rest. If you match those numbers, you will win some money, but the rest goes to the government.