The theory that explains the formation of light elements such as helium and deuterium in the early universe.