Speed - optimisation - image resizing. How does it work?

I am trying to understand how image resizing works / costs, but I do not find the correct answer. Can anyone help me?

I would like to use this service for my websites.

Do I need to upload my website images separately? How does it work and how can I estimate the cost?

Sincerely,

Josep Maria