Inherited from Old French regain. By surface analysis, re- + gaaignier (“to till”).
Practice speaking and memorizing "regain" and many other words and sentences in French.