Here is a diagram discussing real train wheels.
Since the wheels are attached to the axle, the coning is needed to allow the wheel to efficiently go around a curve (outside wheel will travel farther than the inside wheel). Same thing is needed for our toy trains.