Gods can enter pantheons in more than one way. A god is often a personification of an aspect of nature, which is true for the most powerful gods in many classical mythologies. For example the Titans of Greek mythology were personifications of the primordial forces of the world—time, ocean, sun, earth, night, etc.
Gods could also epitomize a type. This occurred more in the second generation of Greek gods, the Olympians. To cite a few, Ares, as the god of war, represented the ideal warrior, Hephaestus, as the god of blacksmiths and metalworkers, was the ideal craftsman, and Artemis, as the goddess of the hunt, was the ideal huntress.
Or thirdly, a god could have his origins in a real person who, because of heroic deeds or extraordinary accomplishments of some kind, was considered divine by his culture and deified, or incorporated into his culture’s mythology, after his death (a process known as Apotheosis). A fair number of “national gods” are of this nature.
In fact it is interesting to note that the most powerful trinity of gods in Roman mythology included one god fitting each of the three described situations: Jupiter (Zeus) was the god who ruled over the force of lightning, Mars (Ares), as previously discussed, was the god of war, and Quirinus (who has no equivalent in Greek Mythology) who was the deified form of Romulus, one of the mythical founders of Rome.