Astronomer: Most stars are born in groups of thousands, each star in a group forming from the same parent cloud of gas  Each cloud has a unique, homogeneous chemical composition
Ttherefore, whenever two stars have the same chemical composition as each other, they must have originated from the same cloud of gas
Many stars in vastly different parts of the universe are quite similar in their chemical compositions.