# Packages

Packages are containers used to group related metadata together. A package would contain components such as objects, fields, apex, flows and more allowing these elements to be easily installed, upgraded and managed as a single unit\
\
Packages in the context of sfp are not limited to second generation packaging (2GP), sfp supports various types of packages which you can read in the following sections

<div data-full-width="false"><figure><img src="https://1646267036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYLI5Ts7pWhWQV9UaBn3H%2Fuploads%2Fgit-blob-9110e2b31b9b6124fefbd6db88542f2d3780ba52%2Fpackage-directory.png?alt=media" alt=""><figcaption><p>Defining a package in repository</p></figcaption></figure></div>
