An electronic device comprising: a camera module comprising a first camera having a first field of view, FOV, and a second camera having a second FOV narrower than the first FOV, the second FOV is positioned in the first FOV; a motion sensor; and a processor electrically connected to the camera module and the motion sensor, wherein the second camera comprises: at least one lens; a reflective member configured to rotate relative to the at least one lens; and an image sensor configured to generate an electrical signal based on light incident through the reflective member and the at least one lens, and wherein the processor is configured to: obtain an image using the camera module; obtain, from the motion sensor, first movement information of the electronic device which is shaken, to correspond to the obtaining of the image; obtain second movement information of the reflective member of the second camera corresponding to an optical image stabilizer, OIS, correction operation or third movement information of the reflective member of the second camera corresponding to an object tracking operation during at least a portion of a period in which the image is obtained; characterized in that the processor is further configured to: perform an image stabilization operation with respect to the image by removing second movement information or third movement information from the first movement information; obtain output information by performing the image stabilization operation; and output an image corrected by correcting distortion of the image, based on the output information and a distortion variation resulting from the second movement or the third movement information. a camera module comprising a first camera having a first field of view, FOV, and a second camera having a second FOV narrower than the first FOV, the second FOV is positioned in the first FOV; a motion sensor; and a processor electrically connected to the camera module and the motion sensor, wherein the second camera comprises: at least one lens; a reflective member configured to rotate relative to the at least one lens; and an image sensor configured to generate an electrical signal based on light incident through the reflective member and the at least one lens, and at least one lens; a reflective member configured to rotate relative to the at least one lens; and an image sensor configured to generate an electrical signal based on light incident through the reflective member and the at least one lens, and wherein the processor is configured to: obtain an image using the camera module; obtain, from the motion sensor, first movement information of the electronic device which is shaken, to correspond to the obtaining of the image; obtain second movement information of the reflective member of the second camera corresponding to an optical image stabilizer, OIS, correction operation or third movement information of the reflective member of the second camera corresponding to an object tracking operation during at least a portion of a period in which the image is obtained; characterized in that the processor is further configured to: perform an image stabilization operation with respect to the image by removing second movement information or third movement information from the first movement information; obtain output information by performing the image stabilization operation; and output an image corrected by correcting distortion of the image, based on the output information and a distortion variation resulting from the second movement or the third movement information. obtain an image using the camera module; obtain, from the motion sensor, first movement information of the electronic device which is shaken, to correspond to the obtaining of the image; obtain second movement information of the reflective member of the second camera corresponding to an optical image stabilizer, OIS, correction operation or third movement information of the reflective member of the second camera corresponding to an object tracking operation during at least a portion of a period in which the image is obtained; characterized in that the processor is further configured to: perform an image stabilization operation with respect to the image by removing second movement information or third movement information from the first movement information; obtain output information by performing the image stabilization operation; and output an image corrected by correcting distortion of the image, based on the output information and a distortion variation resulting from the second movement or the third movement information. perform an image stabilization operation with respect to the image by removing second movement information or third movement information from the first movement information; obtain output information by performing the image stabilization operation; and output an image corrected by correcting distortion of the image, based on the output information and a distortion variation resulting from the second movement or the third movement information.