The invention relates to a uracil compound, a preparation method of the compound, and a herbicide containing the compound as an active ingredient. R1, R2, R3, R4, R5, X, Y, Z, and W are each as defined in the detailed description of the invention. [Key words] uracil, herbicide, pyrimidinedione.