The process by which the light elements (hydrogen, helium, and lithium) were created in the early universe.