As a promising new material, metal halide perovskite is rising as a shining star in the field of optoelectronics. In this paper, 3D CsPbBr3 perovskite nanocrystals were prepared by a conventional thermal injection method. The phase transitions between 3D CsPbBr3, 0D Cs4PbBr6, and 2D CsPb2Br5 have been realized by adding ligands or polar solvents, and their unique optical properties were investigated and compared. Under UV excitation, CsPbBr3, CsPbBr3@Cs4PbBr6, and CsPbBr3@CsPb2Br5 all emit bright green light with fluorescence lifetime on the nanosecond scale. The fluorescence lifetime of the composite structures CsPbBr3@Cs4PbBr6 and CsPbBr3@CsPb2Br5 is almost the same as that of CsPbBr3, suggesting that the emission of the CsPbBr3@Cs4PbBr6 and CsPbBr3@CsPb2Br5 complexes are all from CsPbBr3 nanocrystals. In addition, the addition of ligands enabled the transformation of CsPbBr3 to Cs4PbBr6, and the polar solvent water-induced phase transition from CsPbBr3 to CsPb2Br5 was also confirmed. This work not only provides a simple method for the preparation of composite structured perovskites, but also provides some knowledge about the degradation of lead-halide perovskites in humidity environment.