We show that by using the photonic crystals, we can confine, guide, and emit light efficiently. By precise control over the geometry and three-dimensional design, it is possible to obtain high quality optical devices with extremely small dimensions. Here we describe examples of high-Q optical nanocavities, photonic crystal waveguides, and surface plasmon enhanced light-emitting diode (LEDs).