Need-help-with-computer-science-What-is-UNIX-

What is a UNIX Machine? I know Macs are Unix machines… but what does that mean? why are Unix machines better for programming? What is windows? Because I know windows is not a Unix Platform, and how come it isn’t? And whatever it is… what is it made for?