The anatomy of science