A lot can be said about how whole house fans work but a picture is worth a thousand words as the saying goes!
The whole house fan kills two birds with one stone as it cools the living spaces along with the attic simultaneously.
You can see the concept in the above picture. Your attic is a hot mess during the summer time and it only has passive vents unless you’ve made the smart move already and installed a quiet cool attic fan.