Nidhogg (Old Norse Níðhöggr, literally “Curse-striker” or “He Who Strikes with Malice”) is the foremost of several serpents or dragons who dwell beneath the world-tree Yggdrasil and eat its roots. This is highly injurious to the tree, which holds the Nine Worlds of the cosmos.[1] Nidhogg’s actions have the intention of pulling the cosmos back to chaos, and he, along with his reptilian cohort, can therefore surely be classified among the giants (or, as they were called in pre-Christian times, “devourers”).
From this it would make sense for Nidhogg to have a prominent role in Ragnarok, the downfall of the cosmos. This does indeed seem to be the case. In one especially important Old Norse poem (the Völuspá or “Insight of the Seeress”), Nidhogg is described as flying out from beneath Yggdrasil during Ragnarok, presumably to aid the giants’ cause.[2]
Later in the same poem, Nidhogg is also said to preside over a part of the underworld called Náströnd (“The Shore of Corpses”) where perjurers, murderers, and adulterers are punished.[3] However, this conception of the afterlife as marked by moral retribution is totally foreign to the indigenous worldview of the Norse and other Germanic peoples, and must be an instance (one of many) of Christian influence upon the poem.
Looking for more great information on Norse mythology and religion? While this site provides the ultimate online introduction to the topic, my book The Viking Spirit provides the ultimate introduction to Norse mythology and religion period. I’ve also written a popular list of The 10 Best Norse Mythology Books, which you’ll probably find helpful in your pursuit.
References:
[1] The Poetic Edda. Grímnismál, stanzas 32-35.
[2] The Poetic Edda. Völuspá, stanza 66.
[3] Ibid. Stanzas 38-39.