what is the approximate temperature at the center of the sun where nuclear fusion occurs
Solar core The core of the Sun is considered to extend from the center to about 0.2 to 0.25 of solar radius.[1] It is the hottest part of the Sun and of the Solar System. It has a density of 150 g/cm3 (150 times the density of liquid water) at the center, and a temperature of 15 million kelvins (15 million degrees Celsius, 27 million degrees Fahrenheit).[2] The core is made of hot, dense plasma (ions and electrons), at a pressure estimated at 265 billion bar (3.84 trillion psi or 26.5 petapascals (PPa)) at the center. Due to fusion, the composition of the solar plasma drops from 68-70% hydrogen by mass at the outer core, to 33% hydrogen at the core/Sun center.
Main sequence After a star has formed, it generates thermal energy in the dense core region through nuclear fusion of hydrogen atoms into helium. During this stage of the star's lifetime, it is located along the main sequence at a position determined primarily by its mass, but also based upon its chemical composition and other factors. All main-sequence stars are in hydrostatic equilibrium, where outward thermal pressure from the hot core is balanced by the inward pressure of gravitational collapse from the overlying layers. The strong dependence of the rate of energy generation in the core on the temperature and pressure helps to sustain this balance. Energy generated at the core makes its way to the surface and is radiated away at the photosphere. The energy is carried by either radiation or convection, with the latter occurring in regions with steeper temperature gradients, higher opacity or both.