An efficient C–N cross-coupling approach for the synthesis of hydrazones was developed through C(sp2)–H and C(sp3)–H functionalization of indole and methylarene under visible light irradiation using photocatalyst eosin Y, ethanol:water as a green solvent and atmospheric air as an oxidant. With the aid of eosin Y, the C–H bonds of indole and methylarenes were activated followed by coupling with arylhydrazines