How Do Companies Verify Employment History?

How do employers check employment history?

.

How do background check companies verify employment?

Can background check reveal past employers?

Do companies check previous employment?