My question involves court procedures for the state of: IL

Are there benefits to presenting a Motion for Summary Judgment? As I (non-lawyer) understand. Side Presenting the Motion for Summary Judgment is say here's the facts, there isn't any real "matter of fact" disagreement, lets not waste time going to a full blown trial. Side presenting the Motion lays out the case & facts in a written way very detailed.

The opposing side will have a motion to Dismiss because they think there are factual differences and try to convence the judge.

If The Motion for Summary Judgment fails - the case goes to a full blown trial (with discovery, dipositions, etc.) is this correct?? Is the party submitting the Motion For Summary Judgment pentalized by the court (judge) if it fails?