What is an index and types of indexes?