until the early 20th century, arsenic was often used to embalm bodies. eventually it was replaced by other chemicals that work better and are less poisonous. in 1867, the german chemist august wilhelm von hofmann discovered formaldehyde. scientists soon realized that this chemical worked very well to preserve dead bodies. soon formaldehyde replaced other chemicals as the most common chemical used to embalm bodies.