The 5th house is the house of intelligence, higher education, and the mind. Rahu represents confusion, obsession, and unconventional thinking.
When Rahu sits in the 5th house, it makes the person highly intelligent but extremely eccentric ("sanki"). Their mind races with a thousand different ideas. The tragedy of this placement is that whatever formal degree or education they acquire will be completely useless in their actual career ("vidya kaam na aaye").
An engineer will end up running a restaurant; a doctor will become a stock trader. Rahu forces them to abandon their formal education and succeed through unconventional, self-taught methods.