Name and why it is called so
The surah begins with "Was-sama'i dhatil-buruj" (By the sky containing great constellations). Buruj is the plural of burj, and it refers to the great stars of the sky and their positions. The surah is named after this word. After this comes an oath by the Promised Day, and by the witness and what is witnessed. In Musnad Ahmad, with an authentic chain, Abu Hurairah (may Allah be pleased with him) says in his own words that the witness (shahid) is Friday, what is witnessed (mashhud) is the day of Arafah, and the Promised Day (maw'ud) is the Day of Resurrection.
The story of the People of the Ditch (Ashab al-Ukhdud)
Verses 4 to 9 mention the People of the Ditch, who dug trenches of fire fed with fuel and sat at their edges watching as they threw the believers into it. Their only fault was that they believed in Allah, the Almighty, the Praiseworthy. In Sahih Muslim, the hadith of Suhayb (may Allah be pleased with him) gives the details of this event: a king's sorcerer, a boy who learned faith from a monk and began calling people to Allah, the people believing after the boy's martyrdom, and the king having trenches dug along the roads and fires lit in them.
Main themes
Allah says that those who persecuted the believing men and women and then did not repent will have the punishment of Hell and the punishment of burning, while those who believe and do righteous deeds will have gardens beneath which rivers flow; that is the great success. Then Allah's attributes are described: your Lord's grip is severe indeed; He is the One who originates creation and will bring it back; He is the Forgiving, the Loving, the Owner of the Throne, who does whatever He wills. The example of the armies of Pharaoh and Thamud is given, and at the end Allah says that this is a glorious Quran, preserved in al-Lawh al-Mahfuz (the Preserved Tablet).