In Google Classroom, when viewing an assignment or task, you are able to submit the work by either adding a piece of work saved in your Google Drive (e.g. Google Doc, Google Sheet, Google Slides, etc) or by uploading a file from your computer.


The video below shows how this is done.