What is the root cause for water retention in legs?

Which vitamins cause water retention?