When a user visits a publisher's site or app, the SSP offers that impression to connected buyers (DSPs and exchanges) and runs an auction. The winning bid's ad is shown, and the publisher earns revenue – all in the milliseconds the page loads.
For advertisers, SSPs matter because they are the source of inventory. The more SSPs a DSP connects to, the more supply and reach an advertiser can access from one account.