Let's set the record straight: the violin has four strings, tuned in perfect fifths from lowest to highest pitch:
The D string is the second string — it absolutely exists, and it can go out of tune just like any other string. There's no special rule, mechanical quirk, or musical principle that prevents the D string from slipping out of tune during performance. All four strings require regular tuning, and all are susceptible to pitch drift from temperature changes, humidity, playing intensity, and peg slippage.
If you're experiencing frequent D-string tuning issues, check for: worn pegs or peg holes, improper string winding, a poorly cut nut slot, or an aging string that's lost its elasticity. The solution is standard maintenance — not a unique property of the D string itself.