The Sun is a huge gaseous body. However, we cannot observe events in the inner Sun due to the convection zone opacity according to previous models. Therefore, the flares originate from the front surface of the Sun. But the current study relied on the distance distribution of X-Ray solar flares, which concluded that the inner layers have much lower opacity than expected. It is even less than what was expected by the latest models based on helioseismology. This means that the flares may originate from the solar interior or solar core, and perhaps from the backside surface, and even appear to us from the frontside surface. Which the re-estimate and correct the currently listed solar flare’s location is needed. Additionally, the flare’s distance illustrations the solar interior layers and appears their boundaries from the core to the photosphere. This method allows us to monitor the variation of the core’s radius with time. The model of the flare’s distance has been developed in current study. But this needs to redevelopment after re-estimating the solar flares locations.