Gambling involves wagering something of value on an event that has some degree of randomness…