Schema and rich snippets are both code that can be added to your website to provide search engines with more information about your content. Rich snippets are a specific type of schema that focus on providing information about a product or event, such as ratings, reviews, and price.