Alkali reaction in concrete can occur when alkali hydroxides from cement react with certain aggregates, causing expansion and cracking over many years. The two main types are alkali-silica reaction (ASR), which involves reactive silica aggregates, and alkali-carbonate reaction (ACR), which involves dolomite aggregates. ASR forms a swelling gel that can damage concrete, while ACR forms brucite and calcite causing expansion. Both reactions are indicated by cracking, and can be reduced through the use of pozzolans like fly ash or lithium compounds.