An apparatus comprising: a lens barrel including at least one lens group; a moving frame that mounts the lens barrel and is arranged to move in an optical axis direction, and in a first direction and a second direction that are perpendicular to the optical axis direction; a fixed frame that movably supports the moving frame and provides the moving frame with a driving force in the optical axis direction, a driving force in the first direction, and a driving force in the second direction, wherein the moving frame includes a first moving frame that is movably supported by the fixed frame in the optical axis direction; and a second moving frame that is movably supported by the first moving frame in the first and second directions; a base that fixes the fixed frame, the base including an image sensor spaced apart from the at least one lens group in the optical axis direction; a printed circuit board that is electrically connected to the fixed frame; wherein the fixed frame includes a first driving coil for moving the moving frame in the optical axis direction, a second driving coil for moving the moving frame in the first direction, and a third driving coil for moving the moving frame in the second direction, and wherein the moving frame includes a first magnet, a second magnet, and a third magnet, respectively corresponding to the first, second, and third driving coils and the printed circuit board is arranged to supply current to the first, second, and third driving coils for moving the moving frame. a lens barrel including at least one lens group; a moving frame that mounts the lens barrel and is arranged to move in an optical axis direction, and in a first direction and a second direction that are perpendicular to the optical axis direction; a fixed frame that movably supports the moving frame and provides the moving frame with a driving force in the optical axis direction, a driving force in the first direction, and a driving force in the second direction, wherein the moving frame includes a first moving frame that is movably supported by the fixed frame in the optical axis direction; and a second moving frame that is movably supported by the first moving frame in the first and second directions; a base that fixes the fixed frame, the base including an image sensor spaced apart from the at least one lens group in the optical axis direction; a printed circuit board that is electrically connected to the fixed frame; wherein the fixed frame includes a first driving coil for moving the moving frame in the optical axis direction, a second driving coil for moving the moving frame in the first direction, and a third driving coil for moving the moving frame in the second direction, and wherein the moving frame includes a first magnet, a second magnet, and a third magnet, respectively corresponding to the first, second, and third driving coils and the printed circuit board is arranged to supply current to the first, second, and third driving coils for moving the moving frame. wherein the fixed frame includes a first driving coil for moving the moving frame in the optical axis direction, a second driving coil for moving the moving frame in the first direction, and a third driving coil for moving the moving frame in the second direction, and wherein the moving frame includes a first magnet, a second magnet, and a third magnet, respectively corresponding to the first, second, and third driving coils and the printed circuit board is arranged to supply current to the first, second, and third driving coils for moving the moving frame.