Having insulation on the exterior of the building allows these thermal masses to remain at or near room temperature, absorbing heat during sunny days and radiating warmth at night.
If the sunspace is large enough to produce more heat than the home can use during a sunnyday, It would be desirable to be able to store some heat in the sunspace for home heating use after sunset.