I'm not an expert, but here's how I differentiate them:
Summary -- One to three paragraphs, as part of a query letter, that describe your book in such a manner that it leaves the reader wanting more. It follows a basic premise of introducing the hero, the villain, the stakes, and the consequences if those stakes aren't met. The ending is not told.
Synopsis -- Can range from one to ten pages (or longer, depending on what the agent requests). It supplies a thorough description of the action, including major characters, turning points, plot twists, and the ending is revealed.