A new window into the stars by modeling stellar atmosphere