Pulsating variable stars, powerful tools for galactic structure and evolution