What causes pipes to leak?

There can be lots of reasons behind leaking pipes: it might be that they are old or damaged; cold weather can freeze and crack them; and tree roots and even building work can cause damage.