An intruder alarm, also known as a burglar alarm or security alarm, is a system designed to detect unauthorized entry or intrusion into a building or area. Its primary purpose is to alert the occupants, security personnel, or authorities about the presence of an intruder.