Thoughtworks interview question

How INotifiyPropertyChanged work?