A formaldehyde test detects and measures airborne formaldehyde levels, helping identify indoor air quality risks and sources of contamination.