you are not investing in the company by buying and selling shares.  You are buying someone else's holding unless it is an IPO of stock issued from treasury.  It is called investing to make it more respectable than gambling.