WordPress WP_Query class is used to get posts for, basically, everything. And this class is very, very complicated. It has a long list of supported query variables, filters and actions to control the process. But, even with all that, there are some limitations in conventional methods of use.
There are many free plugins you can use for adding all sorts of forms into your website, but none of them comes even close to the power and flexibility of Gravity Forms. Long list of features, great implementation, extensions and excellent support are worth paying for.