Gambling involves wagering something of value (the stakes) on an event whose outcome depends on…