Codeine is a pain relief medicine used to treat moderate to severe pain. It also helps in treating c…