Display Content in custom Post Type

This PHP code display the content of a post or page. The the_content() function in WordPress is used within the loop to output the main content of the current post or page.
<?php echo the_content(); ?>