Does "side" mean the same thing in these two sentences?

He had a pain in his side.

The Confederate side was prepared to attack.
different meanings