Entropy is the measure of randomness of a random variable. $$H(X) = -\sum_{x\epsilon X}p(x)log_{2}(p(x))$$$$H(X) = -\sum_{x\in X}p(x)\log_{2}(p(x))$$
The units when using the $log_{2}$$\log_{2}$ is bits i.e., how many bits required to store the information present in the random variable X$X$.
What will be the units of entropy when use other base for log i.e., natural log/log base 10 or any other? How we will interpret those units?