A small part of the Monkey Head Nebula was captured in a stunning image by the NASA/ESA Hubble Space Telescope during its 24th anniversary.

On its official Twitter page, NASA posted a spectacular image of the Monkey Head Nebula, which is also known as NGC 2174 and Sharpless Sh2-252, taken five years ago. The incredibly detailed infrared view of the nebula shows "dark, wispy clouds of gas and dust are giving birth to new stars," according to the tweet.

The Hubble telescope obtained the image of the Monkey Head Nebula located 6,400 light-years away from Earth during the 24th anniversary of its launch, which happened on April 24, 1990. Check it out below.

The dark clouds of dust are formed by massive, newly birthed stars in the center of the Monkey Head Nebula, according to the description of the image. The newborn stars produce ultraviolet light that shapes the dust into giant pillars. Hydrogen is the main composition of the nebula, and the gas gets ionized when exposed to ultraviolet light.

The twinkling lights in the Hubble image are interstellar dust particles that heated up due to the radiation from the stars in the Monkey Head Nebula's core.

Aside from the Monkey Head Nebula image, NASA also brought back another stunning view taken by the Hubble telescope. During its 16th anniversary in 2006, the Hubble captured the galaxy M82, also known as the Cigar galaxy, in an incredible infrared mosaic.

Located 12 million light-years away in the Ursa Major constellation, M82 was first observed by German astronomer Johann Elert Bode in 1774, along with its galactic neighbor M81, according to its image description.

The image of M82 showed "fiery-looking plumes of hydrogen gas blast out of the blue disk" of the galaxy. The core of the Cigar galaxy has 10 times the rate of star formation of the entire Milky Way Galaxy, mainly thanks to the former's gravitational interactions with its neighbor, M81.

The newborn stars produce radiation and energetic particles that carve into the gas surrounding them. In turn, this produces galactic wind that compresses enough gas to form millions of stars.

However, this rapid star formation rate won't last forever. Eventually, the galaxy will begin to consume or destroy the necessary material needed for stellar formation.

Reflection nebula
Just weeks after NASA astronauts repaired the Hubble Space Telescope in December, 1999, the Hubble Heritage Project snapped this picture of NGC 1999, a nebula in the constellation Orion. The Heritage astronomers, in collaboration with scientists in Texas and Ireland, used Hubble's Wide Field Planetary Camera 2 (WFPC2) to obtain the color image. Getty Images/NASA