The invention relates to a benzene sulfonyl or benzoyl piperazine compound. The compound has an effective anticancer activity and is characterized by low toxicity.