Filter records where a column’s value does not fall within the specified range. The $notBetween method is used to retrieve entries with values that are either less than the lower bound or greater than the upper bound, excluding values within the given range.