The development of next-generation secondary batteries, including lithium-ion batteries (LIB), requires performance enhancements such as high energy/high power density, low cost, long life, and excellent safety. The discovery of new materials with such requirements is a challenging and time-consuming process with great difficulty. To pursue this challenging endeavor, it is pivotal to understand the structure and interface of electrode materials in a multiscale level at the atomic, molecular, macro-scale during charging / discharging. In this regard, various advanced material characterization tools, including the first-principle calculation, high-resolution electron microscopy, and synchrotron-based X-ray techniques, have been actively employed to understand the charge storage- and degradation-mechanisms of various electrode materials. In this article, we introduce and review recent advances in in-situ synchrotron-based x-ray techniques to study electrode materials for LIBs during thermal degradation and charging/discharging. We show that the fundamental understanding of the structure and interface of the battery materials gained through these advanced in-situ investigations provides valuable insight into designing next-generation electrode materials with significantly improved performance in terms of high energy/high power density, low cost, long life, and excellent safety.