Gambling is risking something of value, such as money, on the outcome of an event…