The distinction is that the store function takes two parameters and creates a unique id for saving the image, but the storeAs method takes three parameters and stores the image with a user-generated name. They both save images in the public folder.
/storage/app/public