The Midrash is a homiletic method of exegesis and a compilation of homiletic teachings or commentaries on the Tanakh (Hebrew Bible), a biblical exegesis of the Pentateuch and its paragraphs related to the Law or Torah, which also forms an object of analysis. It comprises the legal and ritual Halakha, the collective body of Jewish laws, and exegesis of the written Law; and the non-legalistic Aggadah, a compendium of Rabbinic homilies of the parts of the Pentateuch not connected with Law.