A loading gauge is like a height limit. People build some bridges, tunnels and other things that trains have to travel through and if a train is too tall, it wont fit. The loading gauge sets a maximum height for trains so they will all fit under these structures, like a height limit.