This sūrah of 182 verses was revealed in the last stage of the middle Makkan period when God’s Messenger, upon him be peace and blessings, and His Companions were heavily persecuted. It derives its name from the first verse. It begins by mentioning some of the angels that are responsible for certain duties and goes on to mention the jinn, rejecting the pagan assertion that they are the daughters of God. The sūrah then emphasizes the afterlife and the Last Judgment. Afterwards, certain episodes of the lives of some Messengers are mentioned and victory for the believers is promised.
By those (the angels) who align themselves in ranks;