Instruction: Explain how to use the data() method to store and retrieve data associated with DOM elements.
Context: This question assesses the candidate's understanding of jQuery's data storage capabilities, which can be critical for managing state without modifying the DOM structure.