Original: It is one of the Spanish royal sites and functions as a monastery , royal palace , museum , and school .
Simplified: El Escaorial is a monastery , a royal palace , a museum and a school .