The James Webb Space Telescope has captured an image of a stunning cosmic collision. 

The Milky Way-sized galaxy NGC 3256 lies about 120 million light-years away in the constellation Vela.

The European Space Agency and NASA said that it was estimated to have formed 500 million years ago, with the intermingling of dust and gas from the impact of the two massive spiral galaxies that sparked star formation. 

The distorted galaxy's infant stars shine most brightly in infrared light and long tendrils reveal its turbulent past. 

HUBBLE TELESCOPE SPIES SPARKLING IRREGULAR GALAXY 11 MILLION LIGHT-YEARS AWAY

The galaxy NGC 3256 captured by the James Webb Space Telescope

The peculiar galaxy NGC 3256 dominates this image from the NASA/ESA/CSA James Webb Space Telescope. This Milky Way-sized galaxy lies about 120 million light-years away in the constellation Vela and is a denizen of the Hydra-Centaurus Supercluster. NGC 3256 may seem peaceful, a swirl of tightly entwined spiral arms set in a hazy cloud of light, but this image shows the aftermath of an ancient cosmic clash. (Credit: ESA/Webb, NASA & CSA, L. Armus, A. Evans)

The red and orange spread across the image contain such stars, creating small dust grains. 

Extended tidal features are also captured, including stars pulled out of the galaxies upon their crash.

Notably, when galaxies collide, clouds of stars pass through one another like clouds of smoke. 

ASTRONOMERS USING NASA JAMES WEBB SPACE TELESCOPE DISCOVER AN INTERCONNECTED WEB OF GALAXIES

The galaxy NGC 3256 captured by the Hubble Space Telescope

The galaxy NGC 3256 takes center stage in this image from the NASA/ESA Hubble Space Telescope. (Credit: ESA/Hubble, NASA)

However, comparatively, gas and dust interacts with stunning results. 

This image contains data from Webb's Near-Infrared Camera and Mid-Infrared Instrument,

Previous observations of the galaxy with the Hubble Space Telescope revealed the collision at visible wavelengths.

A Hubble Space Telescope image of NGC 3256

This image, taken with the Wide Field Camera 3 (WFC3) and the Advanced Camera for Surveys (ACS), both installed on the NASA/ESA Hubble Space Telescope, shows the peculiar galaxy NGC 3256.  (Credit: ESA/Hubble, NASA)

An image from its Advanced Camera for Surveys and Wide Field Camer 3 showed the dark threads of dust and molecular gas around the centers of the galaxies in detail, as well as the hot stars that give the core a blue hue.

CLICK HERE TO GET THE FOX NEWS APP 

Capturing luminous infrared galaxies like NGC 3256 will aid astronomers' understanding of how the James Webb Space Telescope can unravel the complex histories of nearby star-forming galaxies.