Gambling involves wagering something of value (money or materials) on an event with a random outcome,…