You are probably trying to make an ester. You also need a strong base (like 4-dimethylaminopyridine) for this to work well. In the first step the DCC (dicyclohexylcarbodiimide) adds to the carboxylic acid and forms an intermediate compound. The DCC part of the molecule is a good leaving group and produces dicyclohexyl urea and an ester in the presence of an alcohol and a strong base like 4-DMAP.
I've even produced a t-butyl ester using t-butanol with this method.
edit. By the way, from the title of your post it appears that you might be confused about the CH3CN which is a solvent in this reaction... not a reactant. The dicyclohexyl urea is not very soluble in cold acetonitrile.