It's one of the most common methods of telling a story (other than the simple standalone story), and as such it's one of the most obvious and effective examples of the Rule of Three. These stories tend to follow the Three Act Structure: the first part will set the story up, the second part will feature a "rising action", where the story becomes much more apparent, and the third act resolves those points in the first act. Because trilogies often (but not always) comprise of stories that are released apart from each other, they can also contain the three act structure in themselves.
Trilogies where the second and third parts are obviously more interlinked than the first (most often due to publishers requesting more, but also due to pacing issues) can be found in Two-Part Trilogy. Series that were originally trilogies that have more than three entries go under Trilogy Creep.
The middle stories of a trilogy can often suffer from Middle Book Syndrome, where there is no start or end to the plot; for an example of this in a septology (story of seven), Harry Potter and The Half Blood Prince, apart from the subplot about the titular character, either takes plot threads from Order of the Phoenix or carries them to Deathly Hallows.
In some cases, a work is a "trilogy" only in the sense that it was printed in three books, either because the story was too long to print in one volume, or because the publisher thought a book that large wouldn't sell. Tolkien regarded The Lord of the Rings as a single novel, divided into six (non-standalone) books; publishing requirements forced him to print it as three volumes, and to come up with names for them. (The second volume, The Two Towers, suffers the most; it contains two entirely independent, overlapping stories, both of which start and end in the middle of things.)
There are some examples of a "double trilogy" or a "triple trilogy", or, indeed, a "quadruple trilogy", where a story is split up into relatively separate trilogies. Star Wars is the most famous example of the first; The Saga of Darren Shan is a rare example of the last.