The chemical reactions and pathways involving parathion, a highly toxic organophosphate compound formerly used as a broad spectrum insecticide, acaricide, fumigant and nematocide. Degradation of parathion by sunlight or liver enzymes can result in the formation of the active compound paraoxon which interferes with the nervous system through cholinesterase inhibition.