Both Views and Indexes are created on top of a table but each of them serve a specific purpose.
An Index is a data structure that is created to improve the performance of the data fetch operations on a table
A view is similar to a table but may contain data from one or more tables connected to one another through a business logic. A view can be created to implement business logic or to conceal the underlying table implementation from everyone