Zend certified PHP/Magento developer

Difference between Extension Attributes and Custom Attributes magento 2

I have a question in my mind what is the exact difference between Extension Attributes and Custom Attributes with the example?

Is anyone here who can provide me with some ideas ?!