A layer inside a planetary body bounded below by a core and above by a crust; largely made of silicate rock.