Please give me a one minute
To answer your question
is it a trick question or riddle?
The answer is "the animal shelter"
In the sentence, "Because the animal shelter was filled with dogs and cats, the noise in the building was incredibly loud" the subject is the animal shelter. Subject in the sentence refers to the person, place, or thing that is doing or being something.