The James Webb Space Telescope is sensitive enough to not only detect light that passes though the atmospheres of distant planets, but to measure the strength of this light at different wavelengths – as shown here – which can suggest the presence of water or other molecules in an atmosphere.
NASA/STScI