tendency of a processor to access the same set of memory locations repetitively over a short period of time

Temporal locality refers to the reuse of specific data and/or resources within a relatively small time duration.

Spatial locality refers to the use of data elements within relatively close storage locations