Comparison theorems and hypersurfaces