As per Hindu mythology Rahu was killed because of its distrust with Gods and Moon is responsible for its death but it didn't died because of consuming the liquid of immortality and since then roaming in space to get the revenge from moon. It makes native restless and prompts him for roaming. It reduces peace in his life and makes him involve in quarrels. Because of the effect of this planet the native spends sleepless nights.
It isa one of the greatest malefics and is responsible for the sudden bad incedents in anyone's life.
It is also said that no bad effect takes place without the involvement of RAKESH ( Rahu ,Ketu ,Shani)
Your vote on this answer has already been received
I think Pradeep, you want to know about the role of Rahu ( not the origin of his division in to Rahu & Ketu !!!!!!
RAHU IS RESPONSIBLE FOR SURYA-GRAHAN & CHANDRA GRAHAN...
RAHU & KETU ARE RESPONSIBLE FOER FORMATION OF KALSARP-DOSH IN ASTROLOGY..
RAHU & KETU ARE RESPONSIBLE FOR SEVEN TYPES OF PITRU DOSHAS AS PAR PREDECTIVE ASTROLOGY......GRAHAN YOG..,VISHYOG.., ANGARAK YOG.., ABHOTATV YOG.., CHANDAL YOG, JADATV YOG & NANDI YOG...