The law was used to protect people from infection. I don't fully understand a woman being considered unclean after childbirth. Also her uncleanness is doubled for a female child over a male child. She also must have a time of purification which is also doubled for a female child. After this time of purification she must bring to the priest a lamb as a burnt offering and a turtledove or a pigeon as a sin offering. I don't understand what is going on here, but I suspect it has something to do with creation. Man created in the image of God and woman being created from man. Also suspected it has something to do with original sin and the curse.
The laws regarding leprosy and skin infections were to protect the people. They lived in a camp, and tents at close quarters. This was to prevent infection from spreading through the camp. The law also was given for someone who had been healed of leprosy. There were many healed of leprosy by Jesus. Once clean a very detailed process takes place to allow the person to come back into the camp. Several animals are are killed to make the person ceremonially clean. This constantly shows are filthy state before the Lord and our need to be cleansed. We all are lepers in the sight of God without the life and blood of Jesus Christ.
Bibliography
New American Standard Bible. (1995). The Lockman Foundation.
New American Standard Bible. (1995). The Lockman Foundation.