How do painkillers work?

You may take pain medicine for many reasons, whether it is a prescription or … But have you ever wondered how these painkillers work in your body? … by inhibiting COX enzymes in the central nervous system (spine) and the brain.
Source: nerve pain medication