Answer:
Codeine is primarily used as a painkiller
Step-by-step explanation:
Codeine is an opiate which acts on the central nervous system to relieve pain (acts as an analgesic). It can also have sedative effects, and is thought to help stop excessive coughing
It is often prescribed for use in moderate pain. However, it is known to be addictive (it is a narcotic), and it is therefore only recommended to be used in short time frames, and not relied upon for long-term use. Codeine is quite tightly regulated in lots of countries.