Complex sentence: Space includes the background, foreground and middle ground, and refers to the distances or area (s) around, between and within things.
Split into simpler sentences: Space includes the background, foreground and middle ground. Space refers to the distances or areas around, between and within things.