My understanding is that the FBI handles intelligence within the country, while the CIA handles foreign intelligence.
They do have somewhat orthogonal missions (HUMINT vs SIGINT) as others have commented, but never underestimate each piece of the government wanting their own agents.