This is my understanding. I could be wrong......
For a GPS receiver to work, it must have a detailed 'catalog' of information in the actual satellites. When you first turn on a GPS receiver, or after the receiver has sat unused for a long time, or moved a long ways while off, it must acquire this catalog from the satellites that it can see clearly. As in, if you are indoors with a poor view of the sky, this may literally take hours, or never. Outdoors, it should be much faster.
Another way of looking at it is, the GPS has no clue where you are on planet earth, so it has no clue which satellites to look for. It initially takes a long time and a clear signal to even estimate where you are, to even know what satellites to acquire before it can triangulate and exact location.
So to get around this on phones, they came up with aGPS. The aGPS data tells the chip set roughly where you are, so that it quickly knows what satellites to try for. It just attempts to speed up the process.
When I first got my Note 4, I used GPS Status to reset the aGPS data. That didn't help much and my location was inaccurate, and whenever I started a GPS program, it took a while just to get a poor location. So I turned on my GPS app, plugged into external power, and sat the Note by a window for about 1/2 hour. Now it always gets an accurate GPS lock within a couple of seconds when I use it.