CSS, or Cascading Style Sheets, is used to control the layout and appearance of the elements on a web page. It allows developers to style their pages and adapt the design to different device screens and user preferences.