The Talmud (Hebrew: תַּלְמוּד talmūd "instruction, learning", from a root lmd "teach, study") is a central text of Rabbinic Judaism, considered second to the Torah. It is also traditionally referred to as Shas (ש״ס), a Hebrew abbreviation of shisha sedarim, the "six orders" of the Oral Law of Judaism. The Talmud has two components: the Mishnah (Hebrew: משנה, c. 200 CE), the first written compendium of Judaism's Oral Law, and the Gemara (c. 500 CE), an elucidation of the Mishnah and related Tannaitic writings that often ventures onto other subjects and expounds broadly on the Hebrew Bible. The terms Talmud and Gemara are often used interchangeably.
The whole Talmud consists of 63 tractates, and in standard print is over 6,200 pages long. It is written in Tannaitic Hebrew and Aramaic. The Talmud contains the opinions of thousands of rabbis on a variety of subjects, including law, ethics, philosophy, customs, history, theology, lore and many other topics. The Talmud is the basis for all codes of rabbinic law and is much quoted in other rabbinic literature.