Lightning is a natural phenomenon that has fascinated humans for centuries. However, understanding the complex structures of lightning has been a challenge for scientists due to the vast amount of data involved. In a recent study, researchers from FIAS and University of Groningen have developed a novel method to understand lightning structures using machine learning. This knowledge will also help us to avoid lightning dangers in the future.