Favipiravir functions as a purine analogue, as expected from the chemical structure, and it is incorporated instead of guanosine and adenosine.