GPS Receiver inside Cell Phones/Smartphones
Many smartphones include GPS functionality, but this is usually disabled to conserve power.
Presumably, there is an "NSA" function allowing the operator to turn on the GPS of a cell phone on a network.
Separately, cell phones are automatically located (by triangulation among towers) whenever they join a network cell.