The ROUND ONE is called a Molex connector.

Yes I could get all technical on you but that one is so you can tap power from the usual ATX power supply.

The square one looks to be the rare 4 pin that has RPM and possibly temperature sensing.

I won't discuss the latter without full details on the host PC.
Bob