Formaldehyde is used to harden and strengthen nail polishes, also serving as a preservative that protects against bacterial growth. ... At this low level, formaldehyde is not dangerous. However, exposure to larger doses of formaldehyde in the air or on the skin may cause cancer of the throat, nose, and blood.