The buildings in Venice are built on top of tree trunks that act as a foundation to stop them from sinking into the muddy marshland below. So it's not sinking, per se. However, due to rising sea levels and the melting of the polar ice sheets, the buildings are at risk of being submerged in the future. Venice also often experiences acqua alta (high water) when high tide and storms cause the city to flood.