Difference between plugins and presets in .babelrc : <h2>Situation</h2>

<p>So I have a <code>.babelrc</code> like this:</p>

<pre><code>{
    "presets": [
        "es2015",
        "stage-2",
        "react"
    ],
    "plugins": [
        "transform-decorators-legacy"
    ]
}
</code></pre>

<h2>Question</h2>

<p>What is the difference between presets and plugins? Which one should I use to configure Babel?</p>
