Studying pet dogs could also help scientists better understand aging in people.