Night mode is an automatic setting which takes advantage of the new wide-angle camera that's in the iPhone 11 and 11 Pro models. It's equipped with a larger sensor that is able to let in more light, allowing for brighter photos when the light is low.
macOS Catalina Now Available
Apple Releases iPhone OS 3.0.1 to Address SMS Security Vulnerability
Apple has also posted a security document describing the issue.