The method of loci (loci being Latin for "places") is a strategy of memory enhancement which uses visualizations of familiar spatial environments in order to enhance the recall of information.

https://en.wikipedia.org/wiki/Method_of_loci