"Dogs are popular pets because they are loyal and friendly. Many people keep dogs for companionship and security. They can also be trained to help with tasks, such as guiding blind people or working with the police."
What is the main idea of this passage?