Baclofen is a medication primarily used as a muscle relaxant. It is often prescribed to alleviate symptoms of muscle spasticity in patients with conditions like multiple sclerosis and spinal cord injuries. It functions by activating the GABAB receptors, which inhibit neural activity, thereby reducing muscle stiffness and spasticity.