The Webb Space Telescope has captured two intertwined galaxies glowing in the infrared.

The observatory operated by Nasa and the European Space Agency photographed the two galaxies 326 million light-years away, surrounded by a blue haze of stars and gas.

A light-year is 5.8 trillion miles.

The pictures, released on Friday, mark the second anniversary of Webb’s science operations.

The neighbouring galaxies, nicknamed Penguin and the Egg, have been tangled up for tens of millions of years, according to Nasa.

They will eventually merge into a single galaxy.

The same interaction will happen to our own Milky Way and the Andromeda Galaxy in four billion years, the space agency said.

Considered the successor to the ageing Hubble Space Telescope, Webb is the biggest and most powerful astronomical observatory ever launched.

It rocketed away in 2021 and underwent six months of commissioning, before its first official images were released in July 2022.

It is positioned one million miles from Earth.

“In just two years, Webb has transformed our view of the universe,” Nasa’s Mark Clampin said in a statement.