An ox is a domesticated bovine animal that is trained to do heavy agricultural work , such as pulling carts, plowing fields, or hauling loads.