Hi! I interesting how Gateway wrap in creates new units

How Gateway wrap in creates new units, how new ability commander created?

The units and buildings are trained and constructed somewhere else where its safe and they have the time to do so before your match ever bega. when you warp in, you’re warping them in from some imaginary stock pile of Protoss goods and people. Mining minerals is only used to facilitate the warping in process.