The correct response is:
using theoretical models combined with known data.
Astronomers develop their understanding of the sun's layers by using a combination of theoretical models and data gathered from various observations, including those from solar missions and telescopic observations, rather than making direct observations of all layers or relying solely on mathematical models or eclipses.