Yes, there is a difference. Stains are made of coloured pigments that stick in the grain and pores of the wood surface while dyes consist of microscopic particles that penetrate the wood itself.  As a result, dyes and stains produce different effects and affect different wood species in different ways.