That varies greatly by country. Most people don’t realize, for example, that the priceless cathedrals, art, historical treasures, etc, in the Vatican do not belong to the Holy See. They were gifted to the people as cultural and artistic patrimony. So the Catholic Church maintains them, has all the upkeep, but contrary to wide belief, cannot sell everything and give thr money to the poor.