Perovskites—a broad category of compounds that share a certain crystal structure—have attracted a great deal of attention as potential new solar-cell materials because of their low cost, flexibility, and relatively easy manufacturing process. But much remains unknown about the details of their structure and the effects of substituting different metals or other elements within the material.