KEGG aids in understanding cancer by mapping genetic mutations and molecular events to specific pathways that are disrupted in cancerous cells. This allows researchers to identify potential targets for therapy and understand the complex interactions that drive tumor growth and progression.