Gambling involves risking something of value (like money) on a random event in the hope…