The BIOS checks motherboard, memory, drives i.e. Floppy, Hard drive, CDROMs etc, if it finds the essentials it gives a happy beep and moves on looking for a boot program, if it finds something amiss it signals it is displeasure with a series of beeps in a code that, if you know the sequences, will tell you what is most likely wrong or missing.