It's often used to describe deities or supernatural beings who have knowledge of everything, past, present, and future.