The range() function returns an object of class range, which is nothing but a series of integer numbers.