Science and Culture spread with civilization that are close enough,
When a neighbor Civilization has a tech that you don't have it will give science but only for this tech (same for culture)
The amount of science/culute depends on :
Number of cities that are close to his civilization,
The...