On the nature of emission from relativistic jets