The periodic table of elements arranges all of the known chemical elements in an informative array. Elements are arranged from left to right and top to bottom in order of increasing atomic number. Order generally coincides with increasing atomic mass. The rows are called periods.
The energy of a photon is given by:

where h is the Planck constant and f is the photon frequency.
We know the energy of the photon,

, so we can rearrange the equation to calculate the frequency of the photon:

And now we can use the following relationship between frequency f, wavelength

and speed of light c to find the wavelength of the photon:
The
sun is a ball of hot gases containing different kinds of elements at different
cores. It has a very high temperature that radiates all throughout the Milky
Way galaxy. The sun has three main parts; photosphere, chromospheres
and corona. The outer core of a star located at the chromospheres contains
mostly of hydrogen. Inside the hydrogen is helium then carbon, oxygen, neon,
magnesium silicon and the inert gas. The photosphere is scattered by the loose electrons in the corona’s plasma.