Cats use their faeces as another way of spreading their scent, just like when cats urinate. However when they use their faeces it is a more serious message as it is also a visual message and is usually only used when the cat feels very insecure and is desperately trying to mark their territory. The behaviour is called Middening. See my page about cat poo under the cat urine problems pages for more info on this.