When an institution asks you to "scan the document and upload it as a PDF", most people photograph the page and send that. A photo comes out crooked, shadowed and needlessly large, and many upload forms will not accept a JPG at all: they want one single PDF.
Your phone already has a scanner built in. The Files and Notes apps on iPhone, and Google Drive and Files by Google on Android, find the edges of the page, flatten it, merge several pages into one document and produce a PDF. This guide walks that path from start to finish, including multi-page documents and file size.