In this blog you will learn What is the difference between hosted, provider hosted and SharePoint hosted app?
SharePoint Hosted App
Provider hosted apps
Auto hosted apps