Analgesics are painkillers.
They are not the same thing as 'anti-inflammatories'.
Examples of analgesics are acetaminophen and codeine, while an example of an anti-inflammatory is ibuprofen. Anti-inflammatories do relieve pain by reducing inflammation, so they are often confused with one another.
Analgesics have different trade names in different countries, and combinations of analgesics may be marketed under different names, so it is good to examine the container and learn the pharmaceutical name as well as examining the dosage of each ingredient.
Besides pills, analgesics may be delivered in creams, gels or skin patches.