Virtualization plays a key role in modern operating systems by allowing multiple operating systems to run simultaneously on a single physical machine. This is achieved by creating virtual machines, each with its own virtual hardware, on which an OS can run. This allows for better resource utilization, increased security, and improved system reliability.