Gambling involves risking something of value, such as money or property, upon the outcome of…