A complaint lays out the facts, the legal basis for the claim, and what the plaintiff wants the court to do. The defendant then files an answer.