It could be an inside perimeter tile, or an outside footing tile, or both.
That exterior water has to go somewhere, or it would very quickly become interior water.
Unless the house is on a hill allowing the footing drain tile around the exterior perimeter to be routed downhill to daylight, or downhill (hopefully very downhill) to a storm sewer, then it is very likely that it is routed to the sump pit in the basement.
In the old days footing tiles were sometimes routed to the sanitary sewer but that is rarely ever allowed and should never be done even if it is.