Actually, it depends on the Mac. Macs made prior to the original "Bondi Blue" iMac G3 were "Old World", and stored their hardware information in PRAM (parameter RAM). Macs made after the iMac G3 was introduced (including the iMac G3 itself), but before the Intel transition, are "New World", and use Open Firmware for this purpose. Intel-powered Macs use EFI (Extensible Firmware Interface).