Looking with Confidence for Parallels(Masechet Shabbat Daf מט. Perek 4 Siman 3)

(condensed from Ein Ayah, Shabbat 4:3)

Gemara: That which it says in the mishna that there are thirty-nine categories of work that are forbidden on Shabbat – what does the number correspond to? Rabbi Chanina bar Chama said: It corresponds to the work done in constructing the Mishkan.

Ein Ayah: Anything that can be used to stimulate the mind and bring new ideas into the world must have come into existence because Hashem wanted it that way. The ideas are always reminiscent of things throughout the physical and spiritual world, and therefore the comparisons can inspire people’s spiritual side.

When many specific elements fit into one inclusive set, it must be that there is some piece of logic that unites them all, and this unifying force must be connected to something else in existence. The connection should not just be technical but should have a logical element to it so that finding the similarity will give a positive result. That is why the gemara raised the question, with the expectation of a good answer: What do the thirty-nine melachot correspond to?