What is the primary function of cache memory in a computer system?
To permanently store data
To store the operating system
To act as the main system memory
To store frequently used data for quick access