Artworks are grouped into periods or styles based on similarities that they share, for example a similar time of creation (for example, Medieval), a similar use of technique (for example, pointillism) or similar subject of depiction (for example, portraits).