2FA is an added layer of security you can add on after your password. It is basically a prompt for you, the user, to enter a four to six digit code that, ideally, only you should have access through, either through your phone number (via SMS) or through an authenticator app. It allows you to be sure that only you have access to your account. It is also a great way for you as the user to know when someone has hacked your password and is trying to enter your account. They won’t be able too since you’ve enabled 2FA.
All social media platforms and GMail have the option of enabling 2FA on your accounts. It is now almost a necessity to have 2FA on your accounts since password hacking has become more and more commonplace.
Using your mobile number as the recipient of your 2FA codes is generally okay however if you want to be super safe you can use authenticator apps like the Google Authenticator. These apps can be attached to your multiple accounts and every minute they will automatically generate new codes for your 2FA, making it even harder for people who want to gain access to crack the code.