P2P is a massive source of piracy. Rare to see it used for a legitimate purpose (Open source software).
Are torrents illegal? No, not by themselves, but what you're downloading could very well make it become illegal.
I hear this excuse all the time, "seeding linux ISOs". That would be fine...