Astronomers have directly observed two exoplanets shedding their outer layers into space for the first time.The first exoplanet, K2-22b, is a Neptune-size rocky world with temperatures that can melt and vaporize rock.The second exoplanet, BD+054868Ab, has two massive tails and is losing a moon's worth of material every million years.The findings provide valuable insights into the composition and behavior of exoplanets.