system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: What happens to my Nokia stocks if Microsoft buys Nokia?

I have some Nokia stocks, and it's been rumored that either Microsoft or Huawei would be interested in buying Nokia's mobile business. What would happen to my stocks? Would my stocks be replaced with the buyer company's stocks, would I get money equivalent for the purchase amount per stock, or would I still own Nokia's stocks for the remainder business that Nokia would still have?
gpt
Let's say you own exactly 1% of Nokia.  (You probably don't but it is an easy number to use)

You would get 1% of whatever deal they make.  

If Microsoft buys Nokia for $100,000 You would get $1000.

If Microsoft buys Nokia for 200 Shares of Microsoft stock you get 2 shares of MSFT.  

If it is a mix, maybe $50,000 + 100 shares of MSFT, then you would get $500 and 1 share of MSFT. 

Other things are possible like $50,000 plus some other assets like buildings or patents.  In that case you would get some extra money because you can't get 1% of a building.