Stars are the building blocks of galaxies. Astoundingly, there are 4,000 million stars in our own Milky Way, and there are two million million galaxies in our visible universe. Stars are simply luminous spheres of plasma held together by gravity, but their age, location and composition are the ciphers that can explain the evolution and dynamics of the galaxy within which they exist.