When you pull the two parts away from each other, it is a Divergent boundary. For example the sea spreading apart, and underwater volcanoes would come up.
When you push the two parts together it is a Convergent boundary. For example, you might see some volcanoes breaking apart. There are two types of Convergent boundary, one is called continent to continent, when the two parts smash together like you see here below.
The other Convergent boundary, is when the one of the two pieces goes on top of the other one, and it's called continent to ocean. Here is an example of it below.
Lastly there is another boundary called "Transform", and it happen, when the plates moves side to side. For example Earthquakes happens here frequently. Here above, there's a picture of it.