A security alarm system detects unauthorized entry or threats (like fire/smoke) using sensors (door/window contacts, motion) connected to a central panel, which triggers a loud siren and sends alerts (phone calls, app notifications) to owners or monitoring centers,