Why is a dog considered 'najis' and 'napaak' in Islam?

Because there are certain types of the diseases in the saliva of dog .Islam wants to protect its follower today it is proved by science and there are ahadith that angles are not visiting the house where dog lives in, therefore we are not allowed to keep as a pet.