which layers can s-waves to go through

S-waves (or shear waves) can only travel through solid materials such as the Earth's crust, mantle and inner core. They cannot pass through liquids like the outer core or the oceans.