When a sufficient amount of energy is supplied to air, that energy is used to rip apart electrons from those gaseous atoms and effectively "ionizes" the gas, resulting in plasma, the fourth state of matter. read more
This is because the medium is usually a gas. When this gas is ionized, it should be considered plasma. So, lightning is neither gas, solid nor liquid. It should be considered plasma. read more