A grating is a cover for a drain, allowing water to enter while preventing objects (and people!) from entering.

Ideally they shouldn't be sited in cycling infrastructure, or where people cycle, at all - they can be slippery, and uncomfortable to cycle over. If they have to be located in cycleways, or in cycle lanes, they should have a 'waffle' design, which is safe to cycle over.