It is a system to give a random reward to one of the online players.
Server will announce about that with a message like that:
[Lottery System] Winner: Mohamed, Reward: 1 bar of chocolate! Congratulations! (Next Lottery in 4 hours)
Every 4 hours.
Online
Players: 264/1000