Event/observer is used to work dynamically with Magento without altering the core code.

Event/observer is used to work dynamically with Magento without altering the core code. Magento uses some default events to increase the core system elasticity. Moreover, it allows to dispatch custom events to work dynamically. Every event has its observer, where you handle the system in your own way.