Man and dogs have been friends for over 40,000 years. Since then, dogs have been used for companionship, guarding, protection, as sniffer dogs in law enforcement and the military, search and rescue operations, hunting, medical diagnoses, guiding, emotional support etc.