I am having trouble understanding why a division is made between heat and work.
The units for energy is $\text{kg} \, \text{m}^2 \, \text{s}^{-2}$. The only way to obtain this unit is if you exert a force over a distance - that is, if you do work. In other words, the only way to change the energy of something is if you do work on it. However, in thermodynamics, we are taught that there are two ways of changing the energy of a system: (1) heat transfer and (2) work. This got me thinking about how something other than work can change the energy of a system. But, given that heat transfer is just a transfer of energy through collisions at the microscopic scale, can we go as far as to say that heat is just work done at a microscopic level?