Matter can absorb or emit the light. It does not matter what is the source of light. It may be the surface of sun or star.
Atmosphere absorbs the part of white light which is emitted from star. It produces a color spectrum marked by the dark lines. These dark lines are absorption lines. These lines show the characteristics of the elements present in the gas.
The spectrum of star gives the information about the chemical composition of its atmosphere.
Therefore, Absorption of light in star's atmosphere is the scientific phenomenon which helps scientists to determine the chemical composition of some star.
Base in your question that ask for the distance that the remote control would extend beyond the edge where as a remote control is 22cm long and has a mass of 0.08kg =, base on my calculation the answer would be 1.27cm i hope you understand my answer