What elements does a bed contain?

A bed contains mainly carbon, hydrogen, and oxygen, but there are many other trace elements that can be present, and of course, not all beds are made of the same substances, there are many different ways to build a bed. Even such things as the floral pattern that may be decoratively printed on a mattress can use inks that contain small quantities of various heavy metals.