Intervals are used to measure “distance” between values.
In the DBMS world interval
typically refers to the period between 2 timestamps, many modern RDBMS systems natively supports intervals and operation with them.
More information on the intervals can be found in the wild.