A complaint is a formal legal document that initiates a lawsuit, outlining the plaintiff's claims against the defendant and the relief sought. It serves as the foundation for the case, detailing the facts of the dispute and providing the legal basis for the claims. The complaint sets in motion the civil litigation process, guiding both parties and the court through the issues at stake.