Dantrolene is a skeletal muscle relaxant that is primarily used to treat muscle spasticity and malignant hyperthermia. Its mechanism of action involves inhibiting the release of calcium ions from the sarcoplasmic reticulum in muscle cells, thereby reducing muscle contraction.