What's in a substation?

How a substation works