For each of the following cash transactions, identify whether it is better described as an operating, financing, or investing activity.
1. A firm pays dividends to its shareholders.
2. A firm provides services to its customers.
3. A firm sells inventory.
4. A firm pays its employees for work completed.
5. The business takes out a loan from the local bank.