A Contact Sensor is mostly used to detect if a door or window is opened. A single group address needs to be configured. You can receive notifications when the sensor makes contact and create automations based on these notifications in the Home app. It can automatically turn on a light for example.
Note: This sensor is not available in Google.