Instruction: Discuss the purpose of custom data attributes in HTML and how they can be interacted with in JavaScript.
Context: This question evaluates the candidate's ability to leverage HTML5 custom data attributes for seamless JavaScript integration.