Snippets allow you to create chunks of markup in your Svelte component and use them to cut down on duplicate code. You can even pass them to child components and add parameters to them.