Gambling involves risking something of value on an event with an uncertain outcome, such as…