Meaning and application

What is the grammatical role of الْحَمْدُ in الْحَمْدُ لِلَّهِ?

Remembering Allah, Unity, and Reflection (Hadith 63-69)