A digital camera is used to take photos. Digital cameras use an image sensor instead of photographic film. Very often, they also use a memory card or a flash drive to store the photos in a digital format.Most modern digital cameras and media players use memory cards and flash drives memory for storage.
A flash drive is a small electronic device containing flash memory that is used for storing data or transferring it to or from a computer, digital camera, etc.
If a story is based on a personal experience then yes, the two doesn't matter. <em>However</em>, usually learning through personal experience is better because you learn firsthand while stories are written from a different perspective.