Answer:
It foreshadows the ominous actions which will occur later within the play. It also distinguishes the witches as evil forces.
The weather may be a fallacy, it mirrors the moods of the characters during a given scene. The intensity of the thunder and lightning mirrors the intensity of emotion later within the act.