Most of the information about stars is brought by photons that originate in stellar atmospheres. Consequently, understanding and modelling the conditions in the atmosphere of a star is of crucial importance for understanding stellar observations and the star as a whole.
While there are a lot of similarities between studies of solar and stellar atmospheres, there is also a key difference: solar studies largely benefit from the ability to resolve features on the solar surface. In particular, the Sun provides a unique opportunity to directly study the emergence and disappearance of magnetic fields in its atmosphere as well as the sophisticated interaction between these fields and plasma. Furthermore, high-resolution solar observations revealed that besides a strong vertical stratification with depth, the solar atmosphere has a very rich and complicated horizontal structure. Progress in solar observations brought about several recent and exciting results which are of direct relevance for understanding stellar atmospheres.