Stop-the-world is a mechanism in garbage collection where all application threads are paused to allow the garbage collector to reclaim memory safely. This pause can lead to latency issues in applications, especially those requiring real-time performance.