I want to create a field "entity" in user account settings.
Guide me how to do this?

Comments

Entity API provides lots of

Entity API provides lots of added functionality like entity_create(). You may want to check that module.