Bit torrents are simply another method of downloading and uploading files, there is nothing inherently illegal about them.
The content you are torrenting may be protected by various copyright/intellectual property laws though; you'll have to check the applicable statutes in your country. For example, in the USA, downloading copyrighted movies is illegal, while downloading Linux iso images is not, since they are free to distribute under the GPL.