Stains are used intentionally in a variety of fields , including research ( biochemical staining ) , technology ( metal staining ) , and art ( wood staining , stained glass . ) Stains are used intentionally in a variety of fields , including in research ( biochemical staining ) , technology ( metal staining ) , and art ( wood staining , stained glass . )