What theoretically results when a star dies?

When a star dies a big explosion erupts. The star will then crumble in to tiny microscopic pieces of rock.