Here’s how it works:
An address corresponds to a single point on the map. The U.S Census Bureau has a geocoder that converts an address to latitude and longitude coordinates.
School district boundaries can be represented as polygons on the map. The National Center for Education Statistics (NECS) has geographic data on school district boundaries.
Once we determine which polygon the point resides in, we know the school district.