Support for responsive images1 was added to WordPress core in version 4.4 to address the use case for viewport-based image selection2, where the browser requests the image size that best fits the layout for its particular viewport.
https://www.smashingmagazine.com/2016/09/responsive-images-in-wordpress-with-art-direction/