a jointer makes wood flat/straight, correct?

then a planer then shaves down to desired thickness, correct?