How did famous people become famous?

Depending on the "fame", most who are famous (not including royalty who have no choice) did not set out to be famous. For instance, inventors set out to invent something useful and became famous because of it. Often people become famous after they have died.