How profiles are specified in maven?

Maven build profiles provides the facility to build project using different configurations. We can just specify a profile with the different build configuration and build the project with this build profile when needed.

Profiles are specified using a subset of the elements available in the POM itself.

Please Share