Gambling involves wagering something of value on a random event with the hope of winning…