We can see here that in Rudyard Kipling's short story "Rikki-Tikki-Tavi," the protagonist, Rikki-Tikki, a young mongoose, confronts Nag and Nagaina, a pair of dangerous cobras residing in the garden of an English family's bungalow in India.
The primary conflict arises when Rikki-Tikki becomes aware of the cobras' threat to the family and their adopted human child, Teddy. The protagonist's perspective centers on protecting his adopted family from the cobras' menacing presence, driven by his loyalty and sense of duty. Conversely, Nag and Nagaina, the antagonists, view the bungalow and its inhabitants as their territory and prey, seeking to instill fear and cause harm. Their perspective is one of entitlement and territorial aggression.
The conflict rises as Rikki-Tikki engages in a battle of wits and physical confrontation, determined to eliminate the cobras' threat, while the cobras strategize to protect their domain and continue their predatory ways. Ultimately, Rikki-Tikki's courage, resourcefulness, and dedication to the safety of his adoptive family prevail, leading to the defeat of the cobras and ensuring the family's safety.