What is the difference between SAML SSO as IDP and SAML SSO ad SP

Hi
I went through your developer documentation on the Low Level API for web forms for IDP Initiated.

I would like to know the difference between SAML SSO as IDP and SAML SSO ad SP.

Please note that we recommend using the SAML high-level API rather than the low-level API as it’s easier to use, requires less application code, and is configuration driven.
The identity provider (IdP) site is where the user is authenticated.
The service provider (SP) site trusts the IdP and receives a SAML assertion to enable automatic login at the SP.
For IdP-initiated SSO, the flow is:
1. User logs in at the IdP site.
2. User clicks link to initiate SSO to SP.
3. IdP sends a SAML response containing a SAML assertion to the SP (SAMLIdentityProvider.InitiateSSO).
4. SP receives and processes the SAML response/assertion (SAMLServiceProvider.ReceiveSSO).
5. User is automatically logged into the SP.
You’ll find more information about SAML SSO at:
https://componentspace.com/Forums/9355/SAML-v20-Primer