swscale

What is lib Swscale used for by ffmpeg programers?

What is lib Swscale used for by ffmpeg programers? What benefits it gives for AV encoding/decoding? What is its position relevantly to av* libs? ...