But not paying taxes on your income is illegal "in general". So one could interpret that as "all organisations should pay taxes if they have income"...
As I understand it, religious organizations have tax exempt status as non-profits under laws which also include educational and scientific institutions.
And, ironically, the reason religious organizations are included at all is the belief that taxing them would provide a means by which governments could interfere with religion in violation of the First Amendment.