Successful exploitation of an RCE vulnerability in a web application can let the attacker execute any code and execute commands on the web server. The attacker can, for example, exploit an RCE vulnerability to install a web shell on the web server and continue the attack from there.
Read more about web shells and what attackers can do with them.