Comparison of stars in different regions of the Milky Way