Yes, banks do net settlement with each other. They tally up all the debits and credits on both sides and then make a single transfer to settle between each other. Say Bank A owes Bank B $200, and Bank B owes Bank A $150. Bank A will send Bank B $50, as that is the net amount after subtracting 150 from 200.
Not an expert either. As I understand it, credit card networks provide the infrastructure that lets entities settle payments: providing cards and authentication, routing payments from consumer's bank to seller's bank, handling clawbacks, etc. At world scale it's got to be a huge engineering problem.