Stars in the Andromeda galaxy