A grating is any regularly spaced collection of essentially identical, parallel, elongated elements. Gratings usually consist of a single set of elongated elements, but can consist of two sets, in which case the second set is usually perpendicular to the first (as illustrated). When the two sets are perpendicular, this is also known as a grid or a mesh.A grating covering a drain (as illustrated) can be a collection of iron bars (the identical, elongated elements) held together (to ensure the bars are parallel and regularly spaced) by a lighter iron frame. Gratings over drains and air vents are used as filters, to block movement of large particles (such as leaves) and to allow movement of small particles (such as water or air).