"Tu" is used for informal situations when speaking to someone you know well, such as a friend or family member. "Lei" is the formal version and is used to show respect, typically with strangers, elders, or in professional settings.