Modelling Ideal Classical/Quantum Gas by Connecting Microscopic Properties and Emergent Behaviours