Etymology
Today it means: A minced oath used as an intensifier. Full definition →
From heck as a euphemism for hell.
Etymology from Wiktionary, CC BY-SA 4.0.