what happens when sun collapsed inside black hole?

well firstly theoratically the earth burns beacuase the sun is too hot so it is goin to burn up the whole earth, but it is not possible that the sun collapses