Besides the width, the type of head determines the function because it has to match the appropriate lever. Gar wires have smaller heads in the 4-5mm size range. OTOH brake wires have stepped "egg" shaped heads or a squat barrel shaped head with the wire exiting the side. Both brake cable heads are in the 8mm size range.
Here's a photo which may help. ABC are brake cables, CD gear.