Dark energy and dark matter are separate things that arise to solve different problems.

Dark energy is the rational for tuning the cosmological constant term in Einstein's field equations to explain the observed expansion of the universe.  (Antidotally, the cosmological constant is a term Einstein added to make the universe not expand or contact in his model.  He later regretted the addition, terming it "his greatest blunder", but it later became a tool to address this issue.)

Dark matter is the rational to explain a wide array of observations where gravitational calculations suggest there is much more mass than we currently estimate from visual observations.  This manifests as a line in the balance sheet for the mass in the universe as cosmologist's make an accounting of it.

As the names suggest, we don't know much about dark energy or dark matter, and many theories abound to try to explain these discrepancies.  There may be a relationship between the two, but such a link is not implied a priori.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence