After having cooled down sufficiently after the Big Bang, there was a period called the cosmic dark ages when the infant universe was enveloped in a dense fog of hydrogen gas in an electrically neutral state.