up, but their weaknesses (bad stability and low efficiency) are obvious although it is expected as a promising candidate to address the toxicity of lead. [33] There are at least four main issues to be solved: i) The poor stability due to the oxidation of Sn 2+ in a low water and oxygen environment.ii) The low formation energy of Sn vacancies. iii) The fast formation rate of perovskite leads to poor film formation quality. iv) The mismatch of energy levels between SOIHP layer and the charge transport layer results in the charge transport barrier. [34] Therefore, it is urgent to resolve these problems in the POIHPs and SOIHPs to improve their performance, promoting the commercial application of perovskites in many fields. In order to address the issues aforementioned, compositional engineering plays a key role in achieving highly efficient and stable OIHPs. Notably, the modification of properties through ion doping is an effective way to improve the performance and broaden the application field of OIHPs in recent years, [1,[35][36][37][38][39][40] involving solar cells, light-emitting diodes, transistors, and so on. [1,4,6,41] In order to better understand doping, it is important to study the structural characteristics of perovskites. There are two main kinds of perovskites 3D and 2D perovskites, which were extensively explored in recent years. The typical 3D structure can be expressed as ABX 3 , where A is an organic cation such as CH 3 NH 3 + (MA), (NH 2 ) 2 CH + (FA), and Cs + ; B is a divalent cation such as Pb 2+ and Sn 2+ (we only mentioned in this article); X is halogen anions such as Cl − , Br − , and I − , respectively. The 2D perovskites can be categorized as Ruddlesden-Popper phase (RPP) A' 2 A n-1 B n X 3n+1 with 1 ≤ n < ∞, Dion-Jacobson phase (DJP) A''A n-1 B n X 3n+1 with 1 ≤ n < ∞, and alternating cations in the interlayer phase (ACIP) A'''A n B n X 3n+1 , where the A', A'' and A''' are an organic spacer cation such as aromatic or aliphatic alkylammonium monovalent cations; diamine compounds with two amino groups forming hydrogen bonds on both ends with the inorganic "quantum wells" (bivalent cations), and guanidine (GA), respectively. [1,[42][43][44] There are also lower-dimension (LD) perovskites such as 1D and 0D. [45][46][47] The ions doping can occur at the A, B, and X sites, or simultaneously happen at these sites. The doping that we mentioned in perovskite may differ from other semiconductors where it refers to a very small concentration of element addition, while our "doping" refers to a large amount of element addition which is more like an alloy or so. With the different doping strategies, the properties of POIHP and SOIHP can be effectively controlled or modified. The relationship between the