An optical structure includes a substrate having a cavity on a first surface of the substrate, an optical component on the substrate, and an adhesive infiltrating into a gap between the substrate and the optical component to fix the optical component to the substrate. The optical component includes a recess on a second surface of the optical component, the second surface being opposed to the substrate, and the recess covers an opening of the cavity of the substrate.