The "M" (usually seen as "MB" or "GB") on a Nintendo DS game cartridge label stands for Megabytes or Gigabytes—units of digital storage.
It indicates the size of the game data on the cartridge.
Higher capacity allows more graphics, audio, and content.