Meaning of “main” - Learner’s Dictionary

main

noun [ C ] uk us /meɪn/
gas/water main

a pipe that carries gas or water to a building

in the main

generally or mostly:

Her friends are teachers in the main.

(Definition of “main noun” from the Cambridge Learner’s Dictionary © Cambridge University Press)