Gambling is an activity where participants risk something of value on an outcome based solely…