NFKB1 and diabetes mellitus: Therefore, we herein, for the first time, used spontaneous type 2 DM (T2DM) model KK‐Ay mice and GC‐2 cells to explore the function and mechanism of loganin in relieving DM‐induced testicular damage and sperm cell apoptosis targeting the AGEs/RAGE/p38MAPK/NF‐κB signalling pathway.