The most fitting reason why plazas are often considered the heart of a town or city is:
They are meeting places for the people of the town.
While plazas can also serve as business centers, recreational areas, and cultural hubs, their primary significance often lies in their role as communal gathering spaces for the residents.