Before transporters had technology to filter out contaminants Starfleet officers followed a decontamination process.