Morphine is a pain medication of the opiate family which is found naturally in a number of plants and animals.…