Pluto’s dark side spills its secrets — including hints of a hidden ocean : worldnews

level 1

“As the starlight filtered through Pluto’s atmosphere, scientists were able to disentangle the molecules there (including nitrogen, carbon monoxide and methane).”

Help me out please. How can they figure this out?