CSS units define measurements for lengths like width, height, padding, margin, font-size, positioning, etc. Without units, CSS can’t understand how big or small something should be.
You can refer to this cheatsheet for unit values:
Download link for the cheatsheet: CSS Units Cheatsheet