This is the pump for the spa jets. It comes from one of the main drains and connects to the jet fitting.
From the other main drain and spa skimmer, we plumb into the pump which then is plumbed into the sand filter.
This is the pump for the pool which pulls from the main drain and skimmers. The water then is pumped through the filter.
You need a chemical controller per body of water. These controllers help keep the water balanced.
After the water is pumped through the filter, water is pumped through the heater and back to the pool. The big stand pipe is for backwashing the filters and draining the pool and spa.
After the water goes through the sand filter, the water is pumped through the spa heater and back to the spa.