You have to open Gmail on your phone, click on your profile, then click on "Manage Your Google Account", now you will see many options here.

Come to Security, now from here you will see the option. As soon as you scroll down a little, the password option will appear but before that

you will have to enter your recovery mobile number and recovery email

only then your password can be changed otherwise it will not happen.

When you open your Gmail, click on ADD Another Account, after this, you will see 5 options.

launching the email app, clicking the menu button, choosing "Settings," and finally choosing "Account." Next, choose the account for

which you wish to modify the password, select "Change Password," enter the old and new passwords, and hit "Save."