Interjections are words or phrases that express strong emotion or sudden feeling. They stand alone and are not grammatically connected to the rest of the sentence.
In the case of "eh," it's often used to:
* Seek confirmation: "You're going to the party, eh?"
* Express surprise or doubt: "You're serious, eh?"
* Soften a statement: "It's a bit cold out, eh?"