"Por" (for) and "a" (the, fem.) put together makes "pela" when used before a feminine word, so "the" is necessary in this translation. If it was being used before a masculine word, you would use "pelo" (por=for, o=the, masc.) ex. A menina espera pelo café.