Exploring prospective materials for energy production and storage is one of the biggest challenges in this century. Solar energy is arguably the most important amongst various renewable energy resources, due to its wide availability and sustainability with lowest environmental impact. Metal halide perovskites have emerged as a class of semiconductor materials with unique properties including tuneable band gap, high absorption coefficient, broad absorption spectrum, high charge carrier mobility and long charge diffusion lengths, which enable a broad range of photovoltaic and optoelectronic applications. Since the first embodiment of perovskite solar cells showing a power conversion efficiency of 3.8%, the device performance has now been boosted up to a certified 21% within a few years. In this perspective, we summarize differing forms of perovskite materials produced via various deposition procedures, focusing on their energy related applications, and discuss current challenges and possible solutions, with the aim of stimulating potential new applications.