Please help me with these questions!

1)what does a P wave shadow zone tell scientists about what is inside Earth?

2)what does the lack of S waves from earthquakes tell scientists about what is inside earth?​