Inside these structures, normally, there would be rooms for > > travelers to be used freely and allow them to rest and recuperate. Some caravanserai had libraries and thus it has been assumed that these areas also acted as a cultural hotspots where ideas and beliefs could be shared or discussed. Many travelers from around the world will have stopped at these on their journey to the African trader centers.> link
That's so cool, wonder about the amazing stories that must have been told at these places!