die / dye are similar-sounding terms with different meanings (referred to as homophones). To better understand the differences, see below for definitions, pronunciation guides, and example sentences using each term. 👇
die: (noun) a small cube with 1 to 6 spots on the six faces; used in gambling to generate random numbers. (noun) a device used for shaping metal. (noun) a cutting tool that is fitted into a diestock and used for cutting male (external) screw threads on screws or bolts or pipes or rods. (verb) pass from physical life and lose all bodily attributes and functions necessary to sustain life. (verb) suffer or face the pain of death. (verb) be brought to or as if to the point of death by an intense emotion such as embarrassment, amusement, or shame. (verb) feel indifferent towards. (verb) languish as with love or desire. (verb) cut or shape with a die. (verb) to be on base at the end of an inning, of a player. (verb) lose sparkle or bouquet. (verb) disappear or come to an end. (verb) suffer spiritual death; be damned (in the religious sense).
dye: (noun) a usually soluble substance for staining or coloring e.g. fabrics or hair. (verb) color with dye.
die: d·AY
dye: d·AY
(Examples are Wikipedia snippets under the CC ShareAlike 3.0 license. Definitions drawn from WordNet.)