この野菜{やさい}はきれいな赤い色をしているので、料理{りょうり}によく使います。
why using に in this phrase
料理によく使います
この野菜{やさい}はきれいな赤い色をしているので、料理{りょうり}によく使います。
why using に in this phrase
料理によく使います
に has many functions, but in this case it marks a purpose of the verb, like English "for". 料理に使う means "use (it) for cooking".
Related: