In this paper, we give a brief introduction to the development and potential applications of the photonic crystals, especially the applications in light-emitting devices. We focus on the light-emitting diodes and discuss the influences of photonic crystal structure on the light extraction rate and the internal quantum efficiency. Due to the Purcell effect, the spontaneous emission rate of an active medium will be altered by the presence of the photonic crystal structure in the device. The effect of suppression or enhancement can be evaluated by calculating the local density of photon states of the system. The result can serve as a guideline for the experiment to selectively insert active medium into the device according to requirement.