How is Beowulf didactic?

Can you answer this question?