Returns true if there is a post available in the current query. Usually used at the beginning of the_loop.
This tag is usually used in the loop. In the example below, have_posts checks to make sure that there is a post avialable to be accessed with the_post.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
This tag has no parameters.