Better - He strikes a spark from a flint and it brings the candles back to life (though I can't see how one spark could light more than one candle).
Even better - He strikes a spark from a flint and it brings the candle back to life.
As to the rest of the sentence - "and close tight the window" - Here you are almost saying that the flint closed the window.
Better - "...and he tightly closed the window".
Student or Learner