The present invention discloses a novel pyrroloisoindolone compound of formula (I), process for preparation thereof and pharmaceutical composition comprising a novel pyrroloisoindolone compound of formula (I) used for the treatment of cancer and malarial infection. Further, the present invention discloses a process for preparation of cytotoxic natural product chlorizidine A. Formula (I)