Minimal surfaces and free boundaries Their similarities and connections