How to create, update and delete user in wordpress

WordPress has built-in feature for user panel. In this panel, we can create, update and delete user. But there are some situations where we want to create custom panel for users. Today we will discuss that how to create, update and delete users in wordpress with custom code? For better explanation we will create frontend registration and login form.