The Hubble was launched into the Earth orbit by the STS-31 space shuttle crew on April 24, 1990.
"As Hubble makes its 26th revolution around our home star, the Sun, we celebrate the event with a spectacular image of a dynamic and exciting interaction of a young star with its environment," said John Grunsfeld, Hubble astronaut and associate administrator of NASA's Science Mission Directorate.
The seething star forming this nebula is 45 times more massive than our Sun.
Gas on the star gets so hot that it escapes away into space as a "stellar wind" moving at over four million miles per hour.
More From This Section
This outflow sweeps up the cold, interstellar gas in front of it, forming the outer edge of the bubble much like a snowplow piles up snow in front of it as it moves forward.
This asymmetry makes the star appear dramatically off-centre from the bubble.
Dense pillars of cool hydrogen gas laced with dust appear at the upper left of the picture, and more "fingers" can be seen nearly face-on, behind the translucent bubble.
The gases heated to varying temperatures emit different colours. Oxygen is hot enough to emit blue light in the bubble near the star, while the cooler pillars are yellow from the combined light of hydrogen and nitrogen.
The Bubble Nebula was discovered in 1787 by British astronomer William Herschel.
It is being formed by an extremely bright, massive and short-lived star that has lost most of its outer hydrogen and is now fusing helium into heavier elements.
The star is about four million years old, and in 10 million to 20 million years, it will likely detonate as a supernova.
Hubble's Wide Field Camera-3 imaged the nebula in visible light with unprecedented clarity in February 2016.
The Bubble Nebula is one of only a handful of astronomical objects that have been observed with several different instruments onboard Hubble.