How do you use swift code?

SWIFT codes are used by one bank when sending to another bank, internationally. Domestic wires do not need a swfit code . for example in the USA you use the FEDWIRE system and all banks have an ABA number that identifies them, in the UK it is the CHAPS system and inside europe you can replace the SWIFT code with the IBAN.
SWIFT addresses, are purely identifying letters fir each bank