Gambling is an activity in which a person puts something of value at risk, such…