Web hosting is just a type of hosting plan where your site shares resources with other sites on the same server. But, WordPress hosting is just hosting that optimized your website and give a better performance for WordPress sites and get better resource like RAM, CPU & IO limit.