How did the Scientific Revolution contribute to the Enlightenment?

How did the Scientific Revolution contribute to the Enlightenment?