The hyphen makes the two words into an adjective.

"The book is well-known."

Sometimes the distinction is necessary.

"He drank from a well known to be poisoned."

Or,

"He couldn't remember my name, and so called me thingamabob."