Gate swapping is commonly used to change the layout of a schematic design. Gates can be swapped even if they are in different components, as long as they are the same gate type with the same number of pins.