Ranges are generic data types that represent a sequence of numbers. Let's look at the following diagram to understand this: