When you first open Photos, it scans your library to recognize people, dogs, and cats in your photos. After the scan is done, you can open the People album, view photos organized by the faces in them, and assign names to them. If you name a dog or cat, the People album changes its name to People & Pets. As you import new photos, Photos matches any people or pets in them to the people and pets you’ve identified.