Fundamentals of macroscopic and microscopic thermodynamics | GenAI Works