Gambling involves risking money or material goods on events that are uncertain in outcome, such…