A euphemistic or innocuous term in place of the idiom Jesus Christ! commonly used in anger or surprise.
A minced oath, an expression of dismay, disgust, anger, surprise etc.
Used like "what the hell" to add emphasis.