The chemical reactions and pathways involving formaldehyde (methanal, H2C=O), a colorless liquid or gas with a pungent odor, commonly used as a fixative or an antibacterial agent.
(en)