Different functions. FBI domestic criminal investigations, intelligence gathering and surveillance. The CIA foreign investigations, intelligence gathering and surveillance. Unfortunately both functions are still needed but both agencies have been corrupted. Can they be fixed? Not sure but I doubt it.