Ancient period
In his Theogony, written in the seventh century BC, Hesiod distinguishes five categories of powers: superior demons or gods (golden race), inferior demons (silver race), deceased from the Hades (bronze race), heroes without posthumous promotion, and humans of the past (iron race).
Hesiod was the first to set forth clearly and distinctly four classes of rational beings: gods, demigods, heroes, in this order, and, last of all, men; and as a sequence to this he postulates his transmutation, the golden race passing selectively into many good divinities, and the demigods into heroes.
Pythagoras sees souls or spirits everywhere, as detached particles of the ether:
The whole air is full of souls which are called genii or heroes.
Pythagoras identifies four types of spiritual beings: gods, heroes, demons, and humans. While the gods are immortal souls, the humans are mortal souls. Gods inhabit the stars, glorious heroes inhabit the ether, and demons inhabit the earth. The heroes are the demigods.
First worship the Immortal Gods, as they are established and ordained by the Law.
Reverence the Oath, and next the Heroes, full of goodness and light.
Honor likewise the Terrestrial Dæmons by rendering them the worship lawfully due to them.
Honour likewise thy parents, and those most nearly related to thee.
A little bit similar to Hesiod, in Timaeus, Plato mentions gods, demons, inhabitants in the Hades, heroes and humans of the past.
The Romans admitted gods, goddesses, manes (souls of the friendly dead), lares (tutelary spirits protecting houses, etc.), genies (spirits presiding over the destiny of a place, a group, or an individual), lemures (malignant specters of the dead), etc.
Theologians began thinking of angels in the third century, with Origen and the Cappadocians (Gregory of Nazianzus, Gregory of Nyssa, Basil of Caesarea).
The Neoplatonist Porphyry of Tyre (c. 260) carefully asks how to distinguish high-ranking divine beings (gods, archangels, angels, demons, heroes, archons of the cosmos or matter) from mere souls, not to mention malignant spirits (antitheoi):
Thou inquirest concerning what reveals the presence of a god, an angel, an archangel, a demon, or some archon [planetary governor] or soul. In a word, I pronounce that manifestations accord with their essences, powers, and activities ... Of a single kind are the appearances of the gods; those of the demons are varied; those of the angels, simpler than those of the demons, but inferior to those of the gods; those of the archangels, closer to divine causes; as for those of the archons, if by that thou meanest the masters of the world who administer the sublunary elements, they are varied, but arranged in order.
Pagan angels and archangels have Persian origin.
Saint Augustine equates angels with uncreated light, born of the Word; he believes that demons have celestial bodies; he considers fauns to be monstrous children between women and devils.
In the fifth century, Martianus Capella described a world inhabited by spirits, satyrs, etc:
The places inaccessible to men are populated by a crowd of Longaevi who inhabit the forests, woods and sylvan sanctuaries, lakes, springs and rivers.
In his Commentary on Timaeus (439), Proclus admits nine levels of reality: One, being, life, mind, reason, animals, plants, animate beings, and prime matter. According to Pierre Hadot, Proclus posits a hierarchy of gods in nine degrees:
Pseudo-Dionysius the Areopagite, c. 490, influenced by Proclos and Saint Paul, classified the heavenly spirits into three triads, thus forming the nine heavenly choirs (from top to bottom): Seraphim, Cherubim, Thrones, Lordships, Powers, Dominions, Principalities, Archangels, and Angels.