Answer
Analysis of the emission and absorption lines of starlight shows the same lines that appear in the spectra of earthbound elements.
Work Step by Step
Since the spectra match, and the distribution of spectral lines depends sensitively on the type of atoms in the material, we conclude that atoms throughout the observable universe are composed of the same stuff that we are.