The sun is made almost entirely of plasma, and is heated by nuclear fusion. 73 percent of the sun is composed of Hydrogen and 23 percent helium. Its mass is 230,000 times larger than earths.
Nuclear Fusion
Nuclear fusion is when two Nuclei are combined to form another Nuclei. Two atoms are directed to each other and when they hit some neutrons or protons get absorbed.