Text this: Understanding the thermodynamic properties of insect swarms