The present invention Provides 3-(Hyterocyclyl)-N-(arylsulfonyl)indole derivatives of formula (1), which are useful in treatment of CNS disorders that are related to 5-HT6 receptor function. The compounds of this invention bind selectively with high affinity to 5-HT6 receptor. The present invention also disclosed the methods of preparation of these ligands and medicine containing the said compound/s