Scientists using the James Webb Space Telescope have studied an exoplanet 48 light-years away and found it to be a dark, airless rock with a surface of basalt.