The primary method of stain formation is surface stains, where the staining substance is spilled out onto the surface or material and is trapped in the fibers, pores, indentations or other capillary structure of that surface. The material that is trapped coats the underlying material, and the stain reflects back light according to it's own color. Applying paint, spilled food, and wood stains are of this nature.
A secondary method of stain involves a chemical or molecular reaction between the material and the staining material. Many types of natural stains fall into this category. Finally, there can also be molecular attraction between the material and the staining material, involving being held in a covalent bond and showing the color of the bound substance.
Different types of material can be stained by different substances, and stain resistance is an important characteristic in modern textile engineering. Various laundry techniques exist to attempt to remove or minimize existing stains, and stain removers are an important type of chemical in laundry detergents. Some stand-alone stain removers also exist.
In many cases, stains can be affected by heat , and may become reactive enough to bond with the underlying material. Extreme heat, such as from ironing or dry cleaning, can cause a chemical reaction on an otherwise removable stain, turning it into a chemical compound that is impossible to remove.
A detergent (as a noun) is a material intended to assist cleaning. The term is sometimes used to differentiate between soap and other surfactants used for cleaning. As an