What Are Pretrial Motions and How are They Helpful?

What Are Pretrial Motions and How are They Helpful?