A bootstrap is a small program that resides in the computer's ROM and is executed when the system is powered on. Its primary function is to locate and load the operating system into the RAM to start the computer's operation. This process is commonly known as booting the system.