Image sizing for your website

Image size, aspect ratio, file size, resolution: what do these terms mean, and how do you apply them to your website’s pictures and graphics?
Image formats

JPG, PNG, WebP: which type of image file is better for your website? Which one has the smallest file size or offers transparency?