'category__in' argument requires an array of categories, and if you have one category even, it has to be placed in the array. So, this query will include all posts belonging to a single category, defined by the $category variable.
'category__in' argument requires an array of categories, and if you have one category even, it has to be placed in the array. So, this query will include all posts belonging to a single category, defined by the $category variable.