Codeine is used as a pain killer.