Why do urban slums get demolished?

Demolitions are a product of changing land use patterns in cities and the fact that slum residents have no formal rights to their homes