Coupling emitted light and chemical yields from stars: A basic constraint to population synthesis models of galaxies