Enlightenment philosophers such as Francis Bacon, Cesare Beccaria, and John Locke promoted rational thinking and evidence-based reasoning over religious dogma and superstition. They believed societies should be governed based on natural laws and the consent of the people, not hereditary rule, and that laws and government should aim for the greatest happiness and protect the natural rights of all. Their works influenced revolutions and challenged existing political, economic, and social institutions.