Soma, also known by its generic name carisoprodol, is a prescription muscle relaxant primarily used to treat acute musculoskeletal pain. It works by blocking pain signals between the nerves and the brain, providing relief from discomfort associated with muscle injuries, sprains, and spasms.