Pair Apple Watch with your iPhone, then set up the Noise app on Apple Watch (watchOS 6 required, Apple Watch available separately).

Environmental sound levels are automatically sent from Apple Watch to Health. See the Apple Watch User Guide.