The Torah is the first five books of the Hebrew Bible, known in Hebrew by their opening words, Bereshit, Shemot, Vayikra, Bemidbar, Devarim, and in Greek and English as Genesis, Exodus, Leviticus, Numbers and Deuteronomy. Christians call the same five the Pentateuch. The narrative arc is single and deliberate: creation, the flood, the ancestors of Israel, slavery in Egypt, deliverance, the covenant at Sinai, forty years in the wilderness, and the death of Moses on Mount Nebo with the land in view but unentered.
Roughly half the material is not narrative at all but law. Exodus, Leviticus, Numbers and Deuteronomy carry legal codes covering sacrifice, purity, festivals, agriculture, debt, sexual relations, homicide, land tenure and the treatment of resident foreigners. Leviticus is almost entirely priestly instruction; Deuteronomy is cast as a farewell address by Moses and restates much of the earlier law in a different voice and with different emphases, a doubling that is itself one of the reasons scholars read the collection as layered.
Rabbinic tradition fixes the number of commandments in the Torah at 613, a figure attributed to Rabbi Simlai in the Talmud tractate Makkot and divided into 248 positive obligations and 365 prohibitions. The number is traditional rather than obvious from the text, and medieval authorities who tried to itemise it, Maimonides in his Sefer ha-Mitzvot most influentially, and Nachmanides arguing against him, produced lists that do not fully agree. The mitzvot are the raw material of Jewish law, but the law as practised is the rabbinic elaboration of them, not the bare verses.