The basics of heat and light