Image 1 Caption: A pie chart showing the calculated amounts of mass-energy in the observable universe. Beyond the observable universe, we have speculative theories, but which if any are correct, we do NOT know.
Features:
Actually, people often now use mass, energy, and mass-energy as synonyms. They use whatever seems suitable for their use. Mass-energy tends to be used when the mass-energy equivalence is being emphasized---or they are just being verbose. Note:
Only 0.4 % is of the mass-energy of the observable universe is stellar matter---which is baryonic matter which is NOT baryonic dark matter.
The fact that stellar matter makes up so little of the mass-energy of observable universe is quite a change from circa the 1970s when some folks maintained that it was still possible to hypothesize that it was all of mass-energy by discounting the still controversial evidence for dark matter.
The baryonic dark matter is, as aforesaid, mostly intergalactic medium (IGM) (which is intergalactic gas). The IGM has very low density, but there is a lot of space between galaxies, and so a lot mass in the IGM. Much of the IGM warm-hot intergalactic medium (WHIM)). WHIM is nearly invisible since it only radiates a little in the X-ray. Since the 2010s, we do have had significant observations of WHIM.
To account for the structure (including motions) of galaxies, galaxy groups, galaxy clusters, galaxy superclusters, we need far more mass-energy than is seen in stellar matter and this extra mass-energy is far more than allowed by the highly successful theory of Big Bang nucleosynthesis.
Hence there must be dark matter.
What are theories for what for dark matter and its theoretical replacement?
The dark matter particles just fly around as a nearly pressureless gas.
The dark matter clumped into dark matter halos under self-gravity and the dark matter halo gravity pulled baryonic matter into the dark matter halos, and so initiated the formation of the large-scale structure of the universe in the reionization era (AKA cosmic dawn: cosmic time ∼ 0.150--1 Gyr, z∈∼[6,20]).
In gravitationally-bound systems, the dark matter particles must individually follow chaotic orbits and NOT move as clumps of matter the way an ordinary gas with pressure would.
In fact, there is some hope that the dark matter particle will be discovered in circa the 2020s---but hopes have been dashed before.
The PBHs act just like the just described dark matter particles in cosmic evolution.
For more on PBHs as dark matter, see Black hole file: black_hole_primordial.html.
There is no consensus theory of what it is.
We see an effect, acceleration of the universe (i.e., the observed acceleration of the expansion of the universe), and define dark energy as the cause.
The simplest dark energy is the cosmological constant Λ (pronounced Lambda) which is NOT really an energy at all, but a modification of gravity in general relativity. It is the simplest of all modifications to general relativity to get the effect of acceleration of the universe, and so is favored by Occam's razor over other modifications. In fact, astronomers often just say Lambda as synonym for dark energy.
The cosmological constant Λ is the origin of the Λ in the name Λ-CDM model.
However, dark energy may be a real form of energy. The simplest theory is that it acts just like the cosmological constant Λ in causing the acceleration of the universe, but quantum field theorists think a real dark energy should have other properties.
Such properties could include nonconstancy in cosmic time and space and interactions with other forms of mass-energy other than gravity.
However, there is NO consensus theory of what the nonsimplest dark energy should be like.
Hopefully, new observations circa the 2020s will elucidate the dark energy.