A decomposition is given of the S-type of the classifying spaces of the classical groups. This decomposition is in terms of Thom spaces and by means of it cobordism groups are embedded into the stable homotopy of classifying spaces. This is used to show that each of the classical cobordism theories, and also complex K-theory, is obtainable as a localization of the stable homotopy ring of a classifying space.