Despite the tight historical links between science and philosophy, present-day scientists often perceive philosophy as completely different from, and even antagonistic to, science. We argue here that, to the contrary, philosophy can have an important and productive impact on science.