Where does “козак” come from?

Words derived from “козак