CSS is used to control the style and formatting of web documents. It allows for creating stunning web sites by controlling colors, fonts, layouts, and other design elements. CSS is also important for web designers and developers because it provides powerful but easy to learn controls over HTML formatting and applies styles consistently across pages. The basic structure of a CSS stylesheet uses selectors to target HTML elements and declarations to specify property values that control the appearance of those elements.