Question regarding computer BIOS flashing

What is BIOS software?Where in the BIOS software stays-is it in the hard drive or motherboard? Can I change my BIOS software without changing whole configuration of my personal computer? What does it mean by "flashing the BIOS? When flashing the Bios is necessary?
