You can set up your camera so that it stores pictures/videos in the camera's internal memory or on an optional memory card. If no memory card is inserted, pictures/videos are stored in the camera's internal memory.
See your camera user's guide for more information.