Complex sentence: The boundary wall of the shrine surrounds wooden gates covered with glass decorations, and through the gates there is a precinct surrounded by small rooms called "Iwans".
Split into simpler sentences: The boundary wall of the shrine surrounds wooden gates covered with glass decorations. Through the gates there is a courtyard separated into small rooms or precincts called "Iwans".