please explain me the concept that how depletion region aquires charges