Halide Perovskites have recently risen as a new class of optoelectronic materials. Remarkable optical and electrical properties have led to the demonstration of various perovskite-based devices such as solar cells1, LEDs2-5, photodetectors6 and lasers7,8. Particularly, perovskite solar cells have reached >24% of the energy conversion efficiency and outperformed most of the single-junction thin film solar cells available on the market1. Unfortunately, most of the perovskite-based devices remained more-or-less unstable due to a series of unusual behaviors such as current-voltage hysteresis9 and photo-induced phase segregation10,11. Studies about the underlying mechanisms are in demand. In this dissertation, I focused on studying the charge transport and photoresponse of halide perovskites to reveal the mechanisms related to material stability, particularly under electrical and optical stimuli. The changes of halide perovskite materials in a device under electrical operation were studied by using a microscopic tool, scanning photocurrent microscopy. The results showed the dynamic nature of the doping concentration in the hybrid perovskite CH3NH3PbI3, as a function of the external biasing voltages. Further studies on the synthesis methods showed such a dynamic process could be attributed to electric field-assisted ion migration mainly through defect sites. The partial suppression of ion migration was observed in materials processed at higher temperature. Except the electric-field triggered instability of the internal potential distribution, while under illumination, a different type of stability, the phase stability in mixed-halide perovskites attracted a lot of attention. Phase separation in mixed-halide perovskites under illumination was a tough problem, which directly related to the degradation of desired device performance. In this dissertation, the correlation between the phase stability and morphology was discovered. A model based on thermodynamics was developed to explain such a correlation. Based on the thermodynamic model, the composite materials CsPbX3/Cs4PbX6 with guest-host structures were created with the phase separation problem successfully solved. Furthermore, the composites are sustainably functionalized even under extreme conditions, i.e., under extremely intense illumination, making the composited useful for devices required to work in extreme conditions. The optical and electrical properties of CsPbX3/Cs4PbX6 composites were further investigated for the application of such composites to functional devices. Surprisingly, the presence of the photoluminescence inactive Cs4PbBr6 can significantly enhance the light emitting efficiency of CsPbBr3 in the composites. The unique negative thermal quenching observed near the liquid nitrogen temperature indicates that a type of shallow states generated at the CsPbBr3/Cs4PbBr6 interfaces is responsible for the enhancement of photoluminescence. Finally, light emitting diodes based on CsPbBr3/Cs4PbBr6 composites are demonstrated. Both quantum efficiency and emission brightness are improved significantly compared with similar devices constructed using pure CsPbBr3. The unfavorable charge transport property of host matrix Cs4PbBr6 could be circumvented by optimizing the ratio between the host and the guest components and the total thickness of the composite thin films. The inorganic composition of the emitting layer also leads to improved device stability under the condition of continuous operation. The studies in this dissertation indicated great potentials of composite materials with optimized designed properties. Depends on the application purposes, more matrix materials with the combination of halide perovskites need to be explored. The future plan will more directed to the investigations of fundamental photophysics and charge transport in a large collection of compositing combinations.