Music can serve as a form of distraction from pain, helping individuals shift their focus away from discomfort. It can also activate the brain's reward system, releasing endorphins that have pain-relieving properties. Furthermore, music therapy techniques can help regulate breathing and heart rate, contributing to pain reduction.