Answer:
the was a fire ball when it was formed.
it cooled down and the hydrogen gas and oxygen combined to form water.
the earth eventually cooled down and the organic compounds combined to form amino acid.
this developed new microorganisms and after many years due to evolution it become complex animals.