Where did the word “comrade” originate and What does comrade mean?

We borrowed the word “comrade”, three and a half centuries ago, from Spain.

There, in the form camarada, it was used chiefly by soldiers to mean one who shares one’s sleeping quarters or, as we would say, a roommate.

It came originally from the Latin camera, chamber, room.