var() function is used to insert the value of a CSS variable.
A good way to use CSS variables is when it comes to the colors of your design. Instead of copy and paste the same colors over and over again, you can place them in variables.
Previous: CSS Styling Images
Next: CSS Flexbox