 He is not to be confused with another god of the same name.He is commonly depicted with the head of a hamadryas baboon, and is tasked with protecting the lungs of the deceased, hence the common depiction of a hamadryas baboon head sculpted as the lid of the canopic jar that held the lungs.Hapi is in turn protected by the goddess Nephthys.