Comprehensive Understanding and Controlling the Defect Structures: An Effective Approach for Organic-Inorganic Hybrid Perovskite-Based Solar-Cell Application