Refers to a person who adapts their actions to circumstances for personal gain, often without regard for principles. Used in political, business, and everyday contexts.
He is an opportunist who changes his opinion depending on the situation.
That politician is criticized as an opportunist.