Why Transformer Rated in Kva and Not in Kw

Why the  Transformer denoted and measure  by Kva and Not in Kw?….  Transformer is to be used for Require output power or step up or step down. Now any Electrical machine during running...