What happens when two of earths plates slide past each other?

When two of the earths plates slide past each other they creat an earthquake and built mountain ranges.