Gambling is an activity in which people stake something of value on an event with…