Matter Under Denpressure
We begin from scratch. The most basic form of matter may be visualized as a hollow ball; or rather, a ball with one small hole in. It is not rigid or solid; rather, it can be contorted and stretched and squashed depending on the forces applied to it.
Now, nature abhors a vacuum, so the default state of such a ball is so expand, so long as it has the energy to do so. A ball with access to no energy will freeze and be stuck in one shape and size, while a ball with plenty of energy (heat) will expand for as long as it can.
If you apply force to a ball, to compress it, you can squash it similarly, and the ball will simply contain potential energy. The moment the force used to compress it lessens, it will expand.
Now then, imagine you have multiple such balls in your hand. You close your hand into a fist, letting none escape, and squeeze: the balls will all be pressed tightly together. In fact, many balls will slide inside each other. As a hole exists in each ball, they will seek to occupy less space (thanks to the force your fist exerts) by sliding through that hole.
This creates an object not unlike a jawbreaker. If you google a cross-section, you’ll observe many balls layered inside one another, on and on. This idea of a jawbreaker is what composes most of the matter we see, under force from, say, the borders of the vessel it’s in, or from air pressure.
If you have many such jawbreakers forming when you squeeze your fist, then when you release your fist all the balls will seek to expand again, and leave one another, the jawbreakers emptying out.
If we fill a jar with various densities of matter, jawbreakers with various different amounts of layers, until the jar is tightly packed, and we shake, then the less dense objects will begin to rise. They require less force to compress, as fewer balls are trying to expand. They’ll be able to squeeze through the gaps, and slowly rise.
We'll get on to why they move in that one direction specifically when we get on to denpressure itself.
It is worth noting, as a companion to this jar analogy, the forces acting on each jawbreaker-molecule. The less dense objects, with fewer layers, are being acted on and being forced to compress, but there would not necessarily be enough force to compress them enough to go inside another object. Similarly, the jawbreaker molecules seek to expand, and the interior layers to expand enough to escape, but to do that they would need to exert a lot more force to compress their surroundings enough to get out. It is not the case that all molecules will equalise their number of layers if there isn't sufficient energy to do so.
There are three states of matter; gas, liquid and solid. Solid matter typically has less energy, and so is trapped in a jawbreaker form. When it is given energy, it manages to expand out, becoming a liquid, and then a gas.
It is known that an object may be made to stay solid at extreme heat when a great deal of pressure is force upon it. Here, this is because the pressure ensures there is no room for the jawbreakers to expand, regardless of how much energy they have. When the energy of the jawbreakers can overpower the pressure exerted on the object, that is when the state changes.
On a similar, flipside note, then if you bring a jawbreaker to a vast, infinite, empty vacuum then they will expand for so long as they have energy. When that energy is used, they will essentially be solid, even at zero pressure, because they do not have the means to expand any more.
Finally, there is the matter of vibration and frequency. All matter vibrates: that’s all heat is. In a jawbreaker, all the balls are vibrating, and they’re all compressed a different amount, meaning unique combinations of overall frequency are made, for a jawbreaker with each amount of layers.
This is partially what defines an element: the number of layers in the overall jawbreaker. Their properties (from state at a certain temperature, to reactivity…) are determined by their frequencies. However, it is worth noting that as you heat and cool an element, the number of layers in a jawbreaker in fact change.