Complex sentence: The main industry there is schooling, with the population of the town swelling to around 40,000 when school is in session.
Split into simpler sentences: The main industry there is schooling. In fact, the town swells to around 40,000 when school is in session.