What are the reasons to test alerts and popups in Selenium Protractor?

Can anyone please specify the reasons to test alerts and popups in Selenium Protractor.