what is function of grinding machine

what is function of grinding machine