Why Location Permission is used in iOS?

NSLocationWhenInUseUsageDescription

Why it’s required in iOS?