Collections not displaying the right product shown in backend on the front end

I have recently joined a new brand and have found that the collections are not showing the products shown in the back end on the front end.

This is the collection.liquid code:

{% if collection.image %} {{ collection.image.alt | escape }} {% endif %}

{% comment %}
{% include ‘searchbar-product’ %}
{% endcomment %}

{% paginate collection.products by 50 %}
{% if collection.description != blank %} {{ collection.description }} {% endif %}
Loading

{% if paginate.pages > 1 %}

{% endif %} {% endpaginate %}
#ajax-preloader { display: flex; height: calc(100vh - 90px); width: 100%; justify-content: center; align-items: center; } #ajax-products { }

Can anyone see the problem here?