When the Observer in ROR should be preferred ??

Hello,

I am confusing when should the observer for the class should be
created instead of preferring the controllers ?? Can anyone help me
to come out from this confusion.

Thanks & Regards

Parsoya Rakesh