An analgesic is a substance that helps to alleviate pain.
Some analgesics may also have an anti-inflammatory action.