There are many reasons for a court to dismiss a case, both procedural and substantive. FRCP 12 provides the list of grounds for dismissal in federal court, which includes a lack of jurisdiction, improper service of process, failure to join a party, and a plaintiff's failure to state a claim for relief.