A stock swap occurs when shareholders' ownership of the target company's shares are exchanged for shares of the acquiring company as part of a merger or acquisition. During a stock swap, each company's shares must be accurately valued in order to determine a fair swap ratio.