Met Office explains: How is thunder formed?
of cumulonimbus clouds Thunderstorms are typically associated with cumulonimbus clouds—towering, dense formations with significant vertical development. These clouds often resemble mountains or vast towers and can spread out at the top into an anvil shape, especially when upper-level winds carry the cloud