Like a metal, the conductivity of graphite in the direction of its planes decreases as the temperature is raised; it has the electronic band structure of a semimetal. The allotropes of carbon, including graphite, can accept foreign atoms or compounds into their structures via substitution, intercalation, or doping. The resulting materials are sometimes referred to as "carbon alloys". Carbon can form ionic salts, including a hydrogen sulfate, perchlorate, and nitrate (C 24 X.2HX, where X = HSO 4, ClO 4 ; and C 24 NO 3.3HNO 3). In organic chemistry, carbon can form complex cations – termed carbocations – in which the positive charge is on the carbon atom; examples are CH 3 and CH 5, and their derivatives.