If Betelgeuse were to explode as a supernova, it would release a tremendous amount of energy and matter into space. However, the idea of another star immediately passing through or taking over its previous orbit is highly unlikely.
When a massive star like Betelgeuse goes supernova, it undergoes a catastrophic collapse, followed by a powerful explosion. The explosion disperses the outer layers of the star into space, forming a rapidly expanding shell of debris called a supernova remnant. The core of the star, known as the neutron star or black hole, depending on its mass, may remain behind.
The explosion would significantly alter the environment in the vicinity of Betelgeuse, dispersing the material and disrupting any nearby objects or companions. The explosion itself would also release a burst of energy in the form of light, known as a supernova flash, which would illuminate the surroundings.
However, it's important to note that the specific fate of a star and its surroundings after a supernova explosion depends on various factors, such as the mass and structure of the star, as well as the characteristics of its binary companions, if any.
In summary, while the explosion of Betelgeuse would have significant effects on its immediate surroundings, it's unlikely that another star would simply pass through or take over its previous orbit. The explosion would disrupt and disperse the material, potentially giving rise to new stellar formations in the future, but the specifics would depend on the dynamics of the system and the resulting remnants of the supernova.