L2 cache, and any other cache in the CPU itself, act as a buffer for the CPU's intructions. Just as hard drives have a buffer, the processor needs a buffer to store instructions that it cannot complete right when it gets them. This lets the processor be more efficient and can save clock cycles by storing commonly used instruction inside the CPU.
Hope that helped.