The Alt key in Illustrator is used to change the foreground and background colors of a drawing. It can also be used to select a color from the color palette.