Use 'feature to point' tool
https://pro.arcgis.com/en/pro-app/3.0/tool-reference/data-management/feature-to-point.htm