Formaldehyde in engineering testing laboratories is used as a preservative and disinfectant for samples, particularly in biological or environmental studies. It is also used in the production of resins, polymers, and certain materials testing, including for testing the durability of materials like wood and textiles. However, due to its toxic nature, it requires careful handling and proper ventilation.