Cache memory is new type of memory which keeps recent task in its memory, and due to this smartphone and computers are capable of starting task from where we have stopped. Cache memory is a very high speed semiconductor memory which can speed up the CPU.It acts as a buffer between the CPU and the main memory. It is used to hold those parts
of data and program which are most frequently used by the CPU. The parts of data and
programs are transferred from the disk to cache memory by the operating system, from
where the CPU can access them.
Cache memory is faster than main memory.It consumes less access time as compared to main memory.It stores the program that can be executed within a short period of time.It stores data for temporary use.
But Cache memory has limited capacity.It is very expensive.