Both auxins and cytokinins play crucial roles in legume nodule formation. Auxins, often synthesized in root tips, are involved in initiating cell division and promoting the formation of root hair structures and infection threads, which are early steps in nodule development triggered by symbiotic bacteria (Rhizobia).