in third person omniscient narration the narrator has a gods eye view of the story and is privy to all characters thoughts as well as knowledge of the past and future. Then there's third person limited when the narrators innately tied to it then that's how you will know.
A third-person point of view can be omniscient, in which the narrator knows all of the thoughts and feelings of all of the characters in the story, or it can be limited. If it's limited, the narrator only relates his or her own thoughts, feelings, and knowledge of various situations and other characters.