with some things like kazaa, they can use a program to track your i.p. address so they can find out what file transfers you're doing. Once they find out you've been sharing copyrighted files, they ask your ISP to give them your name/adress/phone number etc. so they can sue you. that's how they find out.