By looking at the sun at different wavelengths, we can peel off the different layers in the (solar) atmosphere, just like peeling an onion.