Spectroscopy of Galaxies: Evolution of Escape Fractions, Metallicity Gradients and Stellar Metallicity