heatstroke; sunstroke
Medical condition caused by prolonged exposure to strong sunlight or high heat. In modern usage, 熱中症 is more common as a general term for heat-related illness, while 日射病 specifically refers to sun-induced heatstroke.
I got heatstroke from working under the blazing sun.
Frequent hydration is important to prevent sunstroke.