The BIOS is located in the motherboard stored in the EEPROM chip. This chip is typically non-volatile in nature. This means that you even rewrite or update the BIOS.