The dark mode feature is part of Apple's iOS 13 release that is now available.
The mode is not only beneficial for battery life, but many iOS 13 users have also said that the black background is much easier on the eyes and beneficial when browsing at night.