“The one mediator, Christ, established and constantly sustains here on earth his holy Church, the community of faith, hope, and charity, as a visible structure through which he communicates truth and grace to everyone. But, the society equipped with hierarchical structures and the mystical body of Christ, the visible society and the spiritual community, the earthly church and the church endowed with heavenly riches, are not to be thought of as two realities. On the contrary, they form one complex reality compromising a human and a divine element. For this reason the Church is compared, in no mean analogy, to the mystery of the incarnate Word. As the assumed nature, inseparably united to him, serves the divine Word as a living instrument of salvation, so, in somewhat similar fashion, does the social structure of the Church serve the Spirit of Christ who vivifies it, in the building up of the body.” -Lumen Gentium, Vatican II
that’s some beautiful theology right there.