The Raspberry Pi primarily operates on Raspbian, an operating system built on the Debian-based Linux framework and tailored for Raspberry Pi hardware. It can also accommodate other Linux variants and even non-Linux systems like Windows IoT Core.