Pets of the Homeless: Attachment Figures and Social Support

Why do homeless people have pets? It turns out that homeless youth with pets are less depressed and lonely than those without, but pets bring disadvantages too.