It describes a noun, indicating that something is famous, exceptional, or of great renown.
For example:
* Legendary heroes (heroes are the noun being described)
* A legendary musician (musician is the noun being described)
* The legendary city of Atlantis (city is the noun being described)