Before the creation of the multiverse there's a type of energy called Chaos, Primordial or Origin energy. From this energy came the other type of energy known to mankind such as Ki, Qi, Chakra, Profound energy etc.
From the Chaos energy a certain entity or a system was created which was known to the being created after it. Thousands years later, it gained sentience which attracted the attention of the other gods created from the Chaos energy.
Being the strongest, the system decided to rule over them but the gods didn't agree because the system didn't have a body, it's just a spark of light. So coming into conclusion the gods sealed the system with their powers but after a million years it escaped from it seal and traveled to an unknown world called Earth with a bit of it advanced technology.