The sun will not become a giant diamond. The sun is a star, and it will end its life as a white dwarf. A white dwarf is a hot, dense star that has collapsed under its own gravity. White dwarfs are not made of diamond, they are made of carbon and oxygen.