Entitlement server and Discovery server in eSIM

I am new to eSIM technology. I have gone through some online articles on the architecture, which states, discovery server informs user of eSIM profile availability in SMDP+ and accordingly user can download it.

But is it not the same as what entitlement server does? Can someone also explain what is the role of Entitlement server in eSIM. If possible please also explain the position of ES and DS in eSIM architecture.