Me being eager to travel space, I am interested in knowing the origin of everything in our space.
Welcome aboard the forum!
Amazingly, we have a very powerful theory - The Big Bang Theory - which gives us a starting point (13.8 billion years ago) for the Universe. Just after the first tiny fraction of a second, our physics can address the extreme temperatures when all the Universe was condensed into something smaller than an atom, then it expanded and cooled. This expansion caused energy to form quarks then nuclei and electrons.
More cooling, 380,000 years after this beginning, atoms finally formed (electrons joined the nuclei). But at this point in time there was only hydrogen and helium, very little other elements.
The clumpiness of space allowed for clouds to collapse into stars. The interior of stars are so hot that they, over time, will form heavier elements like carbon and nitrogen we now have on Earth.
Some heavier elements are formed when the more massive stars explode (supernovae).
All of those heavier elements made the dust in clouds, which is the ingredients for planets. Planets form as a protostellar cloud collapses, which forms a disk of gas and dust around it, allowing planets to form.