The "great dying," or the Permian-Triassic extinction event, is believed to have been caused by several factors, but one major contributing factor was likely:
bacteria producing large amounts of toxic methane.
This event led to severe climate changes, ocean anoxia, and a dramatic decline in biodiversity.