index fund basically its a mutual fund that invests in a group of securities that are selected to match the general makeup ( or composition ) and weighting of a specific stock market index that tracks the performance of the index .