Now I want to know, how the BIOS gets powered on eventhough the voltage from the CMOS battery is not sufficient.
The voltage from the "CMOS battery" is only there to keep a tiny amount of CMOS memory, a type that uses extremely little power, from losing its contents, and to run the real-time clock (RTC). THe memory contains your "BIOS" settings. (Should be called firmware settings, since "BIOS" refers to the old PC BIOS standard, where as most all new machines use UEFI firmware instead.) The battery power is not required to "power on" the BIOS when you power up the machine.
In modern motherboards the BIOS settings are stored in NVRAM instead of CMOS memory and require NO power to maintain.
In both cases if you lose the CMOS battery power you will likely lose the clock setting, so the next time it comes up it will be set to some default time. In the former case your "BIOS settings" will be lost, but the default settings are often close enough.
When plugged into a live outlet, and if not switched off via a "hard" power switch, your power supply is always emitting "plus five standby" voltage. (This is marked +5SB in the wiring diagram. The "plus five" refers to its supplying positive five volts with respect to ground.) This output provides an amp or so in most desktop PSUs. It can maintain the CMOS memory and the RTC, so during intervals when the machine is "powered off" but is still receiving +5SB, there is no drain on the CMOS battery. +5SB is what runs the power control circuit on the mobo. When you push the power button on the front panel, that is just a logic input to this circuit, which in turn grounds the ~PS_ON line (normally green) from the PSU; this causes the PSU to turn full on. In moments the PSU asserts PWR_OK, which tells the motherboard that the main voltage rails are within spec. This in turn allows the motherboard to reset the CPU, whereupon the CPU begins running code from the firmware ROM. The first such code is the power-on self test code.
+5SB is also used to keep RAM refreshed when you're in standby (sleep) state, and to provide power to the and to provide power to a few devices, typically a keyboard, mouse, or LAN interface, that are able to wake the system. The "CMOS battery" does not and cannot power these things.
These days, the CMOS battery is not used to maintain BIOS or UEFI settings as they are stored in flash memory (which does not require power to maintain) on modern systems. Instead, the battery is used to maintain the system clock when the system is off. Hence, it is more properly referred to as the RTC battery. (Older systems used a CMOS SRAM to store the BIOS settings, which requires power to maintain; this is why it is called a CMOS battery even though this name is no longer correct.) See "Why do PCs still require a CMOS battery?".
– bwDraco – 2016-02-04T22:35:26.510