You will be given a definition of a task first, then some input of the task.
In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.

Book 5 of this work discusses the question of free will, while Book 4 discusses the existence of pain and evil. At one point in this work, a hierarchy of knowledge is presented with sense at the base and intelligence from divinity at the top. Concluding that the pursuit of wisdom is the key to happiness, this work was written as a conversation between the author and Lady Philosophy. In A Confederacy of Dunces, Ignatius Reilly often mentions this work. For ten points, identify this 6th-century philosophical work written while its author was awaiting execution; a work by Boethius.
Output:
Literature