In TypeScript, a map is a data structure that stores key-value pairs. Unlike arrays, which use integer indices to access elements, maps use arbitrary keys to access values. This makes maps versatile for storing data where the key-value relationship is more important than the order of elements.