what is difference between index and database?
A database is a collection of information. An index provides an easy to locate specific information in a collection of information. Virtually all information stored by companies is in databases. These days, databases can take many forms, as can indexes (or, as they say more commonly outside USA, indices).