An exclamation, broadly defined, is any utterance made with strong emotion.
An exclamation, narrowly defined, is a sentence type that is used to express a strong emotional state. It contrasts in syntax or morphology with other sentence types which typically express statements, commands, and questions.