The legends, folk tales and hagiographies of most religions include stories in which saints or sages interacted with animals, sometimes even to the extent of them talking to each other. Saint Jerome and the lion, St. Anthony and the crow and St. Francis and his audience of birds are the most well-known such stories from the Western tradition. Most such stories probably have their origins in a naive understanding of animals but others may be based on at least some experience. Some higher animals are known to exhibit the rudiments of traits such as gratitude, affection, loyalty and reciprocity. Likewise, some animals are able to sense certain emotions in humans, especially strong ones like love and fear, and respond to them. Saints and sages also often lived in wilderness areas where the wildlife would gradually grow used to their presence and lose their fear of them. Visitors would see this and assume that the hermit and the animals had developed some kind of relationship with each other.
The Jàtakas contain numerous stories in which humans interact in a variety of ways with animals, including talking with them. The Tipiñaka also included several such stories. Once Venerable Sàriputta was suffering from fever and Venerable Moggallàna offered to get him the medicine he required Ý lotus stalks. He went to a great lotus lake, an elephant saw him and asked him if he could help him. Moggallàna told him what he needed and the elephant instructed another elephant to get it. This second elephant uprooted a trunkful of lotus stalk, washed the mud off them, tied them into a bundle and then gave them to Moggallàna (Vin.I,214). Another story of animal helpfulness to humans is told in the Udàna. The Buddha left Kosambi in disgust at the quarrelsome monks there and went to a nearby forest where he spent a few days staying at the foot of a sal tree. The elephant who lived in the forest cropped the grass around the Buddha and brought him water in its trunk (Ud.41-2). The ancient commentary adds that a monkey also brought him fruit to eat (Dhp-a.59). Like the former story, this one is about animals being kindly and helpful. But it also adds the idea that noble beings (enlightened sages and great elephants) share a common appreciation for silence and solitude.
A monk once told the Buddha he was being disturbed by a large flock of birds roosting nearby. The Buddha advised him to go to the birds three or four times a night and ask them for a feather. The birds would, he said, soon get sick of his continual request and go somewhere else. The monk did as he was advised and sure enough, the birds left (Vin.III,147). The Buddha used this incident to warn monks not to be always asking lay people for things.
Stories based on the assumption that animals will respond to human kindness and love are very common in the Buddhist tradition. The most famous of these is the Buddha/Nàlagiri incident. Once, in an attempt to kill the Buddha, his evil cousin Devadatta arranged for a dangerous elephant called Nàlagiri to be released onto the road he was walking down. Tail erect and trumpeting, the elephant charged the Buddha who, on seeing the furious creature coming, suffused it with metta. The elephant was suddenly transformed from fury into docility. It approached the Buddha and he stroked its head (Vin.II,195). See Pets.