The 9th house is connected to legal matters, including courts, lawsuits, and legal systems. It governs justice, ethics, and moral principles. Planets in this house can indicate involvement in legal affairs or a strong sense of fairness and righteousness.