Executive functioning, which involves mental skills like working memory, flexible thinking, and self-control, plays a crucial role in managing two languages in bilingual individuals. Helps in switching between languages and inhibiting the use of one language while using the other.