Replace every feature with its centroid point — turn polygons or lines into a points layer.
You can browse this tool, but you'll need to sign in to run it.