The shop is famous for its candy.
In this example "for" means "because (of)"
He was the most famous of the James boys.
In this example "of" means "amongst".
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: