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