CSS, on the other hand, is responsible for the presentation and layout of the HTML elements. It allows developers to apply styles, such as colors, fonts, spacing, and positioning, to create visually appealing and cohesive designs. CSS also provides tools for responsive design, ensuring that web pages look great on various devices and screen sizes by using techniques such as media queries and flexible layouts.