The photographer creates the image and tells the camera what to do to capture it.

The camera and lens simply determine how closely the results follow the photographer's vision.