Line absorption and absorption coefficient inside a star