A motion is a written or oral application to a court in a pending case seeking some sort of ruling or order. A petition, on the other hand, is always in writing, and is considered a pleading, used to commence a proceeding, or initiate a collateral one.