By the definition- a means of raising money by selling numbered tickets and giving prizes to the holders of numbers drawn at random.
There is not a good chance to win the lotteries which is how come in some countries you can win 100$ million for the lottery.
Playing lottery isn't that much fun. I like to win sometimes when I gamble so with poker you win sometimes a hand or a fit and go. With dice you get some green rolls. With lottery you can play months without winning anything so it would make me upset to play it.
But I bet people will like to play on the lottery, and I think they have a big hope that in someday, they can win the jackpot. That makes them to always buy the tickets, maybe every day or every week. With some money, they can enjoy the lottery, and I think they know that the lottery was a gambling game based on luck. People will only play poker if they know the game, and if that person doesn't know anything about poker, then he will not play.