VR works by using headsets equipped with screens, sensors, and motion tracking technology to create an immersive experience that responds to the user’s movements in real time.