Foreign exchange swap means that both parties agree to exchange currency A for a certain amount of currency B, and exchange currency A for the same amount of currency B at the agreed price in the future.
Swap is a spot transaction.
So it is a completely different concept.