Nerve compression occurs when surrounding tissues apply pressure to a nerve, disrupting its normal function and leading to symptoms like pain, numbness, or weakness. It can result from various causes including repetitive motion, injury, or anatomical abnormalities, and often requires medical evaluation to determine the appropriate treatment strategy.