Complex sentence: Deviations from ideality are accommodated by replacing concentration with activity, where activity is the product of concentration and activity coefficient.
Split into simpler sentences: Deviations from ideality are accommodated by replacing concentration with activity. Activity is the product of concentration and activity coefficient.