How operating system boots (booting process)?
Every time a computer is turned on a monitor program is loaded from the secondary memory into main memory, which takes control of the computer and provides an interface to interact. Steps involved in booting process of a general OS : Basic Input Output System (BIOS) is stored in ROM, which capable of doing I/O