The III and VI degrees have weak harmonic functions. Yet, they are very useful when harmonizing.
The VI can have both tonic and subdominant functions since it shares two note with both chords. Something similar happens with the III degree that shares notes with both tonic and dominant chords.
In the next table we summarize the discussed chord functions: