What are partials in ruby on rails
<p>I am trying to figure out how partials works in rails.</p>

<p>Here is code : </p>

<pre><code>&lt;%= render "layouts/appended_pages", pages: {partial: "items",
                                             collection: @results,
                                             locals: {user_flag: false}} %&gt;
</code></pre>

<p>I understand that this render will render _appended_pages but what will do part with pages:  ? how it works    </p>