The chemical reactions and pathways involving dichloromethane, a dichlorinated derivative of methane. It is a colorless organic liquid with a sweet, chloroform-like odor, often used as a paint remover.