According to OpenAI, a phone number is required when creating an account to verify that you are human and stave off spam bots. During the account creation process, you will need to enter a verification code that is sent to your mobile phone via the number you’ve entered. Once you’ve verified yourself, you can start using ChatGPT.
Note that you are unable to remove or change the number associated with your OpenAI account.