A History of Science and Its Relationships With Philosophy and Religion