Apple has added a useful accessibility feature to iOS 14 called Sound Recognition that can notify users about important sounds like fire alarms and doorbells, as noted by Federico Viticci. This is especially helpful for people that are hard of hearing.
When the feature is enabled, Apple says your iPhone will continuously listen for certain sounds, and using on-device intelligence, will notify you when those sounds may be recognized. This includes sounds from fire alarms, sirens, smoke detectors, cats, dogs, household appliances, car horns, doorbells, knocking, water running, a baby crying, and shouting.
Apple says Sound Recognition should not be relied upon in circumstances where you may be harmed or injured, in high-risk or emergency situations, or for navigation. The feature is also in beta right now, so it may not be fully reliable yet.
Sound Recognition can be enabled in the Settings app under the Accessibility menu, and requires 5.5MB of on-device storage. Users can quickly access the feature in Control Center, complete with a list of sounds that users can set to be detected.
Installing the iOS 14 beta currently requires an Apple Developer Program membership for $99 per year, but a free public beta will be rolled out next month. The software update will be released to all users with an iPhone 6s or newer in the fall. Due to potential bugs, it is recommended that users avoid installing the software on their main devices.