A mnemonic device is a learning technique that helps to retain information in the human memory. This aids in the retrieval of same information.
Examples could be using images (like associating each line of a poem that you need to memorize with a particular object in your dorm room) and retrieval cues(e.g. Using the first letter of a list).
Recall basic mathematics in which we memorized order of operations using BODMAS.