Theory as the basis of scientific experiments