The importance of in situ methods lies in their ability to provide accurate and real-time data, which is essential for understanding the dynamic processes at the nanoscale. Traditional ex situ methods often require removing the sample from its environment, which can alter its properties. In situ techniques preserve the integrity of the sample, allowing for more reliable data collection.