An ankle sprain involves stretching or tearing of the ligaments that support the ankle, leading to pain and swelling.