They start off unrelated.  

However they start to converge in the last few sets of books.  I forget which ones specifically (5th Foundation?  The one after Foundation's Edge I think).  Sort of like Heinlein's universe-as-fiction notion to unify all his books.   But Asimov did it a little bit cleaner I think.