Phosphorus compounds are chemical compounds containing phosphorus ions.