Hinduism is a such a religion in which each practice and ritual have some hidden reason and logic behind it, but unfortunately many ignorant's do not know about it and start accusing Hinduism about discrimination and illogical custom one such thing is why women's and females are not allowed in kitchens and in temples during periods and menstruation cycle. Below are some points that I have researched to answer these questions. Temples are the places where people come to calm minds and set positive energy in hygenic environment to maintain it is suggested not to enter temples. Travelling on those days was very tough coz travelling had to be done on foot or in bullock carts hence to save them physical stress and strain they were suggested not to go to the temples as many times temples were bit far if not near. On those days everyone took bath in pond or river which was nearby temples and a location nearby was used as potable source of water as well as was also used for washing clothes, when a women in her menstruating cycle bathed in these ponds or rivers, the bloody discharge during periods increased the iron content in the water. This iron during periods in turn attracted bacteria's who loved iron resulting in significant increase their numbers in the water. This increase in bacteria tend to make pond water slimy and brown and unfit for drinking simultaneously it would stain any clothes which were washed there ,therefore, the women's were not allowed to take bath in these ponds during the most heavily menstruating days i.e. day1 through 3 as a result of it they were unclean and hence not allowed inside the temple This reason was valid long time ago but it stopped being valid in modern days world with the private bathrooms coming in the life of mankind but old habits die hard Womens on those days worked really hard throughout the month and hence they were given rest during menstruation days as it is said that they should not touch agni hotre or any godly thing during menstruation period along with some spiritual reasoning. There may be many more reasons for it, which i might be doing research on with time.