Query documents based on field existence and data types. Learn how to use $exists and $type for schema-flexible data validation.