The application of modern physics to the earth and planetary interiors