Does word "part" have the same meaning in the following two sentences?

He wanted to feel a part of something bigger than himself.

She played the part of Desdemona.
different meanings