All things must be balanced.
Dialogue for the short tidbits or if there isn't "time" to explain things. Pacing is important. Use Walls of Text for world building.
If you're explaining using Dialogue, you're losing an opportunity for more in-depth details because, in reality, an individual...