The Talmud is a collection of Jewish law and teachings, comprising the Mishnah and the Gemara, a commentary on the Mishnah. It exists in two versions: the Palestinian or Jerusalem Talmud, compiled around 400 A.D., and the Babylonian Talmud, compiled around 500 A.D.