A petition is a formal written request that a party submits to the court, asking the court to issue an order or make a ruling on a specific matter. For example, if you want to divorce your spouse, you must submit a divorce petition to the court.