Both servers and hosting plans are optimized for Wordpress and have more resources.
Wordpress hosting plans have more resources (CPU, number of processes, I/O, etc.) compared to classic web hosting plans.