Jewish law, known as halacha is considered a set of God-given instructions to effect spiritual, moral, religious and personal perfection. As such, it includes codes of behavior applicable to virtually every imaginable circumstance (and many hypothetical ones), which have been pored over and developed throughout the generations in a constantly expanding collection of religious literature.
Halacha is a guide for everything the traditional Jew does from the moment of awakening until the moment of sleep. It is a body of intricate laws, combined with the reasoning on how such conclusions are reached. Halacha incorporates as rules many practices that began as customs, some passed down over the centuries, and an assortment of ingrained behaviors.