Ideal Gas Law and its Applications