Why is sodium thiosulphate used in photography?

Because of its complex forming behaviour.