Need of huge database in calculating location

In my iPhone, I have a huge database of location stored, which is used in location service. Why does Apple need so much of data in calculating the location?
Also, even if I turn off the location service, the iPhone updates the database of WiFi hotspots and cell towers around the current location from Apple crowd-sourcing.
Why is it so?
