照相机 is the full formal word for camera. In everyday speech, 相机 (xiàngjī) is more common. For phone cameras, people say 摄像头 (shèxiàngtóu). 数码相机 (shùmǎ xiàngjī) means digital camera.
memory
照 (to illuminate/photograph) + 相 (appearance/image) + 机 (machine) = a machine that captures images.