Can anyone please explain me about RAM and ROM
RAM stands for Random-Access Memory and ROM is for Read-Only Memory.
You already posted what these two types of memories are for. I will just elaborate more what you have posted.
RAM is a form of computer data storage and in the form of integrated circuit that allows data to be stored and accessed in any order. This type is the volatile type of memory where all of the stored information is lost if the power is removed. In other words, the data is stored temporarily.
ROM is a form of storage medium used in computers to store data permanently. The data stored cannot be modified. Example of this type of memory is the Compact Disc (CD) that is used in computers to store data.
It comes in 2 forms: 1, CD-R and 2, CD-RW. In CD-R, you can burn data to it but you cannot modify or delete the disc’s content. While in CD-RW, it is like a regular hard drive or floppy disk where data can be written and erased.
The motherboard has a built-in ROM that is used by the BIOS.