Position function helps the user to get the match at a particular index, using position we can get elements that are less than the position or greater than the position as well.