Thermodynamics and its laws