How do you upload pictures on Facebook from your camera?

I think for this we have to attach our camera with the computer. So that we can access all the pictures