Computer have many type of memory like primary memory , Auxiliary memory , Cache memory , buffer memory ,virtual memory ,
The work of all memory heterogeneously primary memory is directly share with the CPU . Auxiliary memory is used for storing the data for long time. Buffer memory are mostly used for storing the intermediate data among the travel. Cache memory are used for kept the those data that currently needed at process time for increase the speed of the data . Virtual memory are put in among the two memory for enhance the speed of data or instruction it means it put among HDD and RAM .