CSS defines the layout and appearance of a web page by specifying font, color, size, spacing, and other visual design elements. CSS allows web developers to apply consistent styles across multiple pages, reducing the amount of HTML code needed and enabling easier maintenance.