Heck is defined as another, more polite way to say hell, an expression of surprise or anger. An example of heck is the saying, “What the heck?” instead of “What the hell?”
Is Hell the same as heck?
Hell is first and foremost a formal religious term, being the name of the place in the afterlife where souls are eternally punished for their sins. Therefore, the casual use of "Hell" is considered by many to be profane (sacrilegious), and Heck is used in its place in order to avoid the offense.
Is heck a swear word?
"Heck" is not a "bad word", but a substitute for one. Heck/hell is used to convey disgust, shock, bewilderment, or anger.