Usually when defining a number value, we need to specify a length or unit of measurement for that value. If we don't, the browser will likely not know what to do with that number value.
CSS offers different units for expressing length. Some length units are more flexible than others.
For example, relative units and percentage units are always relative to other length values, which makes it easier for developers to layout content independently of screen size and resolution.