Dye - Any coloured compound that reacts with or is absorbed by or dissolved in another phase and renders that phase colour is known as dye.
Stain - The dyes which are used for biological purpose are called stains, they are highly purified and manufactured with greater care and under more rigid specification.