Movement and accumulation of ions across a membrane against their concentration gradient can be explained by