What is the role of cache memory in a CPU?
To store the operating system
To connect the CPU with external devices
To act as the primary data storage
To temporarily store frequently accessed data for quick access