Formation of Light and Heavy Elements