Slicing is a procedure used to select a particular range of items from sequence types such as Strings, lists, and so on.