Gambling involves risking something of value, usually money, on an event that is based on…