Put simply, the X gate reverses or switches the two  values in a column vector. 

![[Pasted image 20230215035805.png]]