A desiccator in engineering testing laboratories is used to store samples or materials in a dry environment by absorbing moisture from the air. It helps prevent sample contamination and ensures accurate results in tests that are sensitive to humidity, such as moisture content analysis or when working with hygroscopic materials.