Jatayu was the son of Aruna, the charioteer of Surya, the Sun God, and nephew of Garuda , his brother was Sampati. He had actually known Rama from long, was an old friend of Dasaratha and had promised to protect Rama, Lakshmana and Sita during their exile.
When Ravana abducted Sita from their hermitage at Panchavati, he carried her away in his aerial chariot, the Pushpaka Vimana. Hearing Sita’s cries for help, Jatayu decided to confront Ravana inspite of his age and not being as powerful.
He challenged Ravana, telling him that abducting another man's wife was an act of cowardice and that he would not allow him to take Sita away.
And in an intense battle Jatayu attacked Pushpaka Vimana destroyed it’s equipment and disrupted the flight. He also inflicted severe injuries on Ravan with his beak and talons. Eventually Ravana drew his sword Chandrahasa and severed Jatayu’s wings as he fell to earth badly wounded.
He was discovered by Rama and Lakshmana in their search for Sita, who explained to him what happened and told them that Ravana might have taken Sita towards south where Lanka was located.
As a deeply moved Rama embraced the dying Jatayu, he breathed his last. Rama himself performed the funeral rites.
Incidentally his brother Sampati would help Rama and the Vanaras in their search for Sita, when they reach the Southern shores, informing them that she would be in Lanka.