A synthetic nucleoside analogues
It inhibits DNA synthesis and viral replication(acyclovir triphosphate competes with deoxyguanosine triphosphate).