Magento and WordPress are different things. WordPress is a Content Management System (CMS) that allows you to create Pages/posts.
Magento is an e-commerce platform that allows you to sell products. There are plenty of e-commerce plugins for WordPress that you can install, and then import your Magento products into the database for that particular plugin.
I can't say how, since whatever plugin you choose will have different instructions. The most popular e-commerce plugin for WordPress is WooCommerce and then you can use this plugin https://wordpress.org/plugins/cart2cart-magento-to-woocommerce-migration/ to migrate your data.
If you want to simply integrate Magento with WordPress so that you can utilize the products from magento in WordPress side-by-side then yes it's probably possible. https://wordpress.org/plugins/magento-wordpress-integration/ you can checkout this plugin to help you do that.
Or one another way you can also use any Magento products csv export extension with a WooCommerce CSV products import Extension.