<span>it would bond to the phosphate
</span>
We get heat on earth from the sun. Energy from the sun is transferred through space and through earths atmosphere to the earths surface. And since this warms the earth surface it creates heat.
Stars form from an accumulation of gas and dust, which collapses due to gravity and starts to form stars. Stars are typically classified by their spectrum in what is known as the Morgan-Keenan or MK system.