The first thing we need to establish is that a lottery is a game of chance where winning is entirely random and is determined by the number of people who participate.
The proceeds from the sale of tickets are used to award winners as prize money, contribute to a social cause (such as education or health) and pay the costs of administering the lottery.