What does the word setting mean?

Usage examples for setting

  1. So next day, when the sun was setting, Tom put on his best clothes, and, taking Dot by the hand, walked towards Brooks's cottage. – Tom, Dot and Talking Mouse and Other Bedtime Stories by J. G. Kernahan and C. Kernahan
  2. Else the setting sun will be the home of the Delawares. – Far Past the Frontier by James A. Braden
  3. The sermon was worthy of its wonderful setting. – My Memories of Eighty Years by Chauncey M. Depew