What does relay do in a car?

What does relay do in a car?