Expanding on above, Al-based BEOL interconnects were used until the process for making the more-difficult Cu interconnects matured around the turn of the millennium.
Without precautions, Cu will diffuse into Si badly and generate tons of traps. TiN is a typical barrier material, but increasingly exotic materials are now being used in cutting edge nodes.