Baclofen is a muscle relaxant and an antispastic agent primarily used to treat muscle spasticity associated with conditions such as multiple sclerosis and spinal cord injuries. It works by acting on the central nervous system to reduce the frequency and severity of muscle spasms and improve muscle movement.