A camera device comprising: a camera module comprising a first substrate, an image sensor disposed on the first substrate, and a lens disposed at a position corresponding to the image sensor; a first driving unit configured to rotate the camera module about a first axis perpendicular to an optical axis of the image sensor; a second driving unit configured to rotate the camera module about a second axis perpendicular to the first axis and the optical axis; and a third driving unit configured to rotate the camera module about the optical axis, wherein the camera module in a state in which the lens and the image sensor are aligned is tilted about the first axis and the second axis and rotated about the optical axis by the first to third driving units, wherein an outer side surface of the camera module comprises a first side surface and a second side surface disposed opposite to each other, and a third side surface and a fourth side surface disposed opposite to each other and between the first side surface and the second side surface, wherein the first driving unit and the second driving unit comprise a first magnet comprising a first-first magnet disposed on the first side surface of the camera module, and a first-second magnet disposed on the second side surface of the camera module, wherein the second driving unit comprises a second-first coil and a second-second coil facing the first-first magnet, and a second-third coil and a second-fourth coil facing the first-second magnet, wherein the first driving unit comprises a first coil comprising a first-first coil facing the first-first magnet and a first-second coil facing the first-second magnet, wherein the first-first coil is disposed between the second-first coil and the second-second coil, and wherein the first-second coil is disposed between the second-third coil and the second-fourth coil. a camera module comprising a first substrate, an image sensor disposed on the first substrate, and a lens disposed at a position corresponding to the image sensor; a first driving unit configured to rotate the camera module about a first axis perpendicular to an optical axis of the image sensor; a second driving unit configured to rotate the camera module about a second axis perpendicular to the first axis and the optical axis; and a third driving unit configured to rotate the camera module about the optical axis, wherein the camera module in a state in which the lens and the image sensor are aligned is tilted about the first axis and the second axis and rotated about the optical axis by the first to third driving units, wherein an outer side surface of the camera module comprises a first side surface and a second side surface disposed opposite to each other, and a third side surface and a fourth side surface disposed opposite to each other and between the first side surface and the second side surface, wherein the first driving unit and the second driving unit comprise a first magnet comprising a first-first magnet disposed on the first side surface of the camera module, and a first-second magnet disposed on the second side surface of the camera module, wherein the second driving unit comprises a second-first coil and a second-second coil facing the first-first magnet, and a second-third coil and a second-fourth coil facing the first-second magnet, wherein the first driving unit comprises a first coil comprising a first-first coil facing the first-first magnet and a first-second coil facing the first-second magnet, wherein the first-first coil is disposed between the second-first coil and the second-second coil, and wherein the first-second coil is disposed between the second-third coil and the second-fourth coil.