Unlike Hubble, which primarily observes in the visible and ultraviolet wavelengths, JWST operates mainly in the infrared spectrum. This allows it to see through cosmic dust clouds and to observe objects that are too faint or too distant to be seen in visible light. JWST's primary mirror is also significantly larger, measuring 6.5 meters in diameter compared to Hubble's 2.4 meters, which provides greater resolution and sensitivity.