Can refer to both the act of grating and the tool used.
Las grates del viejo puente estaban oxidadas y peligrosas.
The grates of the old bridge were rusty and dangerous.
Las grates de la casa son de hierro forjado y añaden un toque elegante.
The grates of the house are made of wrought iron and add an elegant touch.