It is necessary to setup Email (SMTP) before alerts can be used in SharePoint 2013. For this purpose, I have created a free Gmail email account and setup the same within SharePoint 2013. You can follow using the simple steps as found in link below and achieve the results:-
Download link
Download link