If you use JailBreak or like to do other experiments on your iPhone, then there is a chance that at one not-so-great moment it will stop working. Fortunately, Apple foresaw such problems and developed a tool
Question
How to erase all data from iPhone or iPad
Hello! Many people are concerned about what will happen after deleting all data from the iPhone through iCloud.com. But there is very little adequate and normal information on the Internet on this issue. And to be completely precise, there is practically none....