If you own shares of a company that is being merged into another corporation, depending on the terms of the merger, you could receive shares of the acquiring company in exchange for your shares at a predetermined ratio, or you will be given the option to sell your shares at a predetermined price.
If the quantity of shares you would receive after the merger is fractional, you may receive cash payment instead of a fraction of a share.