A slice is a set of indices that have three properties, a starting index, the number of elements and the distance between the elements.