Grating structures for integrated optics are reviewed. Main areas of application are outlined, and special concern is devoted to coupling, focusing and filtering functions. Different structures are described acting as optical components in planar waveguides. Comparison with non-diffractive elements is provided, and links with bulk optics are considered. Current trends of research and technical development are pointed out according to the actual state of the art.