Animal-assisted therapy

How did animal-assisted therapy become prominent in healthcare? How is it used in physical and cognitive therapy?