Voluntary liquidation occurs when the company’s shareholders decide to wind up the business, while compulsory liquidation is initiated by the court, typically due to insolvency.