When a user water a tree, the number of water reduces by 1 and the number of buckets reduces by 1. To water a tree, users must have water and buckets. Otherwise, an error appears.