Provided in the present invention are a compound of Formula (I), a pharmaceutical composition comprising the same, a method for preparing the same, and use thereof as a NS5B polymerase inhibitor, a DNA polymerase inhibitor or a reverse transcriptase inhibitor for the prevention or treatment of viral diseases or cancers.