It was used as a substance for accelerating reactions (a catalyst) by which to produce acetaldehyde.
Mercury was used as a catalyst in the production of acetaldehyde.
Using mercury in the manufacturing process can boost acetaldehyde yields.
While a catalyst itself generally does not change in a chemical reaction, a reaction other than the targeted one (i.e., a side reaction) is assumed to have occurred in the Minamata factory of Shin-Nippon Chisso Hiryo K.K., resulting in methylmercury being produced, and the company let wastewater from the factory, which as a consequence contained methylmercury, flow out into the sea, untreated.