However, none of those metals essential to life were there at the beginning of the universe. Where did they come from? The heavier elements were all cooked in nuclear reactions inside stars, and became part of the interstellar medium only when stars reached the end of their energy-producing life. As time goes by, the concentration of metals in the universe slowly increases.