Delve into the foundational laws of thermodynamics and their applications in engineering.