A profitable company has to decide what to do with its cash. It can reinvest it, or hand it back to owners. How it hands it back changes what you see in the numbers: share counts, per-share profit, price charts.
If you don't understand these three moves, you'll misread charts and financial statements. The classic mistake: seeing a stock "fall 90% in a day" when it actually just split.