Resistance is futile

What does “Resistance is futile” mean?

This is the famous threatening phrase from the program Star Trek, uttered by The Borg, when telling their quarry/victims/enemy that they should not put up a fight because THEY WILL LOSE.