Interjections (Hey!).
Show excitement (Yow!).
Or emotion (Ouch!).

They're generally set apart from a sentence by an exclamation point, or by a comma when the feeling's not as strong

(Darn, that's the end.)

--Schoolhouse Rock