Muscle cramp refers to the sudden contraction of an involuntary muscle. It can be caused by many factors including inadequate presence of some minerals such as calcium in the body; it can also be caused by poor circulation.
Straightening an althelete's leg and rubbing it vigorously make the muscle to relax and to snap back in place.