what type of clouds can produce thunderstorms and even hail
Hail requires strong updrafts to keep the hydrometeors suspended to accumulate ice. The only clouds that can normally support these updrafts are cumulus or cumulonimbus (thunderstorm) clouds. Hail requires TWO elements. One is an updraft and the other is that the water inside the cloud reaches the freezing level.
Thunderstorms result from the rapid upward movement of warm, moist air, sometimes along a front. As the warm, moist air moves upward, it cools, condenses, and forms a cumulonimbus cloud that can reach heights of over 20 kilometres (12 mi). As the rising air reaches its dew point temperature, water vapor condenses into water droplets or ice, reducing pressure locally within the thunderstorm cell.