What is the difference between "=" "!=" "=="

My understanding is that these differ in the following examples:

if (gameObject.tag = “Player”) —> means if the G.O. tag equals “Player”

if (gameObject.tag != “Player”) —> means if the G.O. tag does not equal “Player”

if (gameObject.tag == “Player”) —> means ??

Could someone please clarify this for me. Thank you

the first one is changing the tag so it will be “Player” (u can’t use this in if statement)

the second one checking if the tag is not “Player”

the third one checking if the tag is “Player”