How does a SIEM work?
A SIEM gathers logs from many sources into one place, normalizes them so they can be compared, and applies detection rules. When events add up to something suspicious, like a sign-in from an unusual country followed by a mailbox rule change, it raises an alert for an analyst to investigate.