genre of rabbinic literature which contains Jewish Biblical exegesis and hermeneutics, and compilations of homilies

In the Talmud, commentary on the Torah is divided into two parts. Midrash Halacha and Midrash Aggada. The first one explains Jewish Law known as halacha. The second is explaining and building on the stories of the Hebrew Bible and is also sometimes called The Midrash. The stories of the Midrash are called Midrashim.