OK, where do I begin.
Newton. His law of universal gravitation states that all matter attracts all matter (hence Rick Ocasek and Paulina Poriskova [ how else could you explain it]).
There are lots of atoms in the universe. They have mass, they attract each other. Over time, they can get real close and form a dense cloud - denser than the clouds in the sky. As the atoms get closer together, they bump and the kinetic energy they have from moving is transformed to thermal (heat) energy. Eventually, this can increase until the process of fusion begins (atomic nuclei combining). The cool thing is that fusion gives off GOBS of energy and thereby sustains itself (the energy given off by one set of fusing nuclei start the next pair a-fusing, with energy left over). This left over energy is given off in the full spectrum (from gamma to radio wavelengths).
Your question is based on the understanding that as these particles get closer together the overall density increases until the van der Waals forces take over and some sort of structure begins to take shape (liquid or solid). Fact is, however, that the energy released is so great that the atoms can’t get close enough long enough for the vfW forces to take over. Imagine trying to compress steam back to water but the steam is so hot that no matter how much pressure you apply, the steam stays “boiling”. (note to other readers: I’m trying to keep this elementary; please don’t bust my chops about steam vs. vapor)
This process of energy release and attraction towards the center keeps the atoms that make up the sun (mostly Hydrogen) stirred up. As the fusion continues, the hydrogen fuse to helium and lithium, etc. This takes a long time.
Eventually, the star will run out of fuel (hydrogen). When this happens, the pulling in force (mass attraction - gravity) is greater than the pushing out force (from energy release) and the star collapses. Depending on the total mass of the star, different things can happen.
Here’s where my knowledge gets a bit fuzzy. Stars basically come in three sizes.
- wee
- not so wee
- friggin’ huge
Wee stars just kind of burn out. These, I believe, collapse into themselves and become dwarfs. Real dense, real boring.
Now so wee stars collapse quickly. They are small, incredibly dense, and not as boring. because they collapse quickly, not all of the energy is released. These resulting stars emit radiation in different forms and are called neutron stars, pulsars or whatever, depending on the radiation emmition.
The friggin’ huge stars collapse so quickly that they form a piece of mass that is phenominal, but the density is so huge that the gravity is tremendous. This star can’t hold it’s own weight, so to speak, and keeps drawing itself in until it is “infinitely” small. The gravity is now so darn strong that EVERYTHING near by gets sucked in! This is so darn strong that light (photons) far away get bent around it (direction of travel changes) and photons closer actually get sucked in!!! This is the venerable Black Hole.
Now to your question. Stars regardless of size, are the “burning” things. When they are no longer stars (burned out) they are neutron stars, pulsars, etc.
Our star is pretty small and light (non-massive) in the way of stars. If you could fly your space ship into it, you would go right through it. You wouldn’t hit any wall or solid core.
Brightly,
Spritle