A motion filed by defendants in a lawsuit that seeks dismissal of the lawsuit because the allegations in the complaint, even if true, would not support a claim upon which relief may be granted. A motion to dismiss is filed shortly after the lawsuit commences and the court looks only at the allegations in the complaint, not extraneous facts, to determine if a proper cause of action has been stated.