Wagner took the story of the operas from a book called the "Nibelungenlied" (the "Nibelung Song") which was written in the 12th century by a German poet. We do not know the name of the poet. The story is about the ancient gods from German mythology.