In the early 1990's, one thing was fairly certain about the expansion of the Universe. It might have enough energy density to stop its expansion and recollapse, it might have so little energy density that it would never stop expanding, but gravity was certain to slow the expansion as time went on. Granted, the slowing had not been observed, but, theoretically, the Universe had to slow. The Universe is full of matter and the attractive force of gravity pulls all matter together. Then came 1998 and the Hubble Space Telescope (HST) observations of very distant supernovae that showed that, a long time ago, the Universe was actually expanding more slowly than it is today. So the expansion of the Universe has not been slowing due to gravity, as everyone thought, it has been accelerating. No one expected this, no one knew how to explain it. But something was causing it.
Eventually theorists came up with three sorts of explanations. Maybe it was a result of a long-discarded version of Einstein's theory of gravity, one that contained what was called a "cosmological constant." Maybe there was some strange kind of energy-fluid that filled space. Maybe there is something wrong with Einstein's theory of gravity and a new theory could include some kind of field that creates this cosmic acceleration. Theorists still don't know what the correct explanation is, but they have given the solution a name. It is called dark energy.
What Is Dark Energy?
More is unknown than is known. We know how much dark energy there is because we know how it affects the Universe's expansion. Other than that, it is a complete mystery. But it is an important mystery. It turns out that roughly 70% of the Universe is dark energy. Dark matter makes up about 25%. The rest - everything on Earth, everything ever observed with all of our instruments, all normal matter - adds up to less than 5% of the Universe.
One explanation for dark energy is that it is a property of space. Albert Einstein was the first person to realize that empty space is not nothing. Space has amazing properties, many of which are just beginning to be understood. The first property that Einstein discovered is that it is possible for more space to come into existence. Then one version of Einstein's gravity theory, the version that contains a cosmological constant, makes a second prediction: "empty space" can possess its own energy. Because this energy is a property of space itself, it would not be diluted as space expands. As more space comes into existence, more of this energy-of-space would appear. As a result, this form of energy would cause the Universe to expand faster and faster. Unfortunately, no one understands why the cosmological constant should even be there, much less why it would have exactly the right value to cause the observed acceleration of the Universe. Another explanation for how space acquires energy comes from the quantum theory of matter. In this theory, "empty space" is actually full of temporary ("virtual") particles that continually form and then disappear. But when physicists tried to calculate how much energy this would give empty space, the answer came out wrong - wrong by a lot. The number came out 10120 times too big. That's a 1 with 120 zeros after it. It's hard to get an answer that bad. So the mystery continues.
What Is Dark Matter?
First, it is dark, meaning that it is not in the form of stars and planets that we see. Observations show that there is far too little visible matter in the Universe to make up the 25% required by the observations. Second, it is not in the form of dark clouds of normal matter, matter made up of particles called baryons. We know this because we would be able to detect baryonic clouds by their absorption of radiation passing through them. Third, dark matter is not antimatter, because we do not see the unique gamma rays that are produced when antimatter annihilates with matter. Finally, we can rule out large galaxy-sized black holes on the basis of how many gravitational lenses we see. High concentrations of matter bend light passing near them from objects further away, but we do not see enough lensing events to suggest that such objects to make up the required 25% dark matter contribution.