Interjection

(also called Exclamation)

a sentence that expresses strong emotion.

Examples
What a lovely holiday I had!

The weather was fantastic!

Crystal, David. Rediscover Grammar, page 42.