Muscle cramps are a common yet perplexing phenomenon that nearly everyone experiences at some point in their lives.