A sprain is an injury to a ligament, tendon, or muscle that occurs when it is stretched beyond its normal range of motion. This can happen due to sudden movements, twisting, or impact. The excessive stretching causes damage to the fibers of the affected tissue, leading to pain, swelling, and difficulty in movement.