For many children who are lucky enough to grow up on farms, dogs are often their first and best friends.