The Postal Service uses ZIP codes to deliver mail. The Census Bureau uses Zip Code Tabulating Areas (ZCTA's) to simulate ZIP codes areas for data purposes.
For an alternative viewpoint on using ZIP codes for geographic analysis, see the following article from Towards Data Science (08/04/2019): "Stop Using Zip Codes for Data Analysis."