CAP theorem (and PACELC)
During a network partition the system rejects or blocks requests rather than serve stale or divergent data. You give up availability to stay correct. Examples: a strongly-consistent store, a system requiring quorum.
During a partition every node keeps serving, accepting reads/writes that may conflict or be stale, and reconciles later. You give up linearizable consistency to stay up. Examples: Dynamo-style stores, DNS.
CAP only describes behavior during a Partition. PACELC adds: Else (no partition), you still trade Latency against Consistency. Even a healthy system pays coordination latency to be consistent.
Choose CP when correctness is non-negotiable (payments, inventory, locks). Choose AP when uptime and low latency matter more than freshness (feeds, carts, telemetry). Remember partitions are rare but inevitable, so the everyday choice is usually the PACELC latency-vs-consistency one.