Every temple is constructed at high electromagnetic activities place, when we enter barefoot there it charges our mind & body with positivity.
We all know that while working with electricity one must wear footwear which will insulate you from earth’s conductivity. Ancient Hindus were aware of this fact. The ancient Hindu temples were constructed at places of high electromagnetic activity and which has a positive effect on our bodies and minds.
That is why you must be barefoot inside the temple so that your body works as a conductor and yet get you charged with those electromagnetic forces.