The scientific revolution and the Enlightment promoted the application of reason, empiricism and experimental or observational knowledge to all spheres of public and private life, over the previously-dominant superstitious or dogmatic beliefs that aroused from religion.
Religion and its representatives had great power in medieval societies and controlled every aspect of lives, including the development of knowledge or the power positions in goverments. For example, no theory could be proved with credit if it went against the provisions of the Bible. Also, absolute monarchs held unlimited power in the states as it was believed that such power had been granted by God.
Enlightment aimed to break with every aspect that involved religious obscurantism, superstitions or dogmas.