The cat may be someone’s pet and is just lost or it may be a feral looking for food. If the cat is feral which means it has had no direct contact with people, and unlikely to fit into a domestic setting.
In such a case we will neuter the cat, if the householder is willing to have the cat back on the proviso they will feed the cat every day we will provide a wind and water tight bed, feral cats can live a decent life on that basis.
More often than not feral’s are not welcome, in such a case we will put the cat on our farm facility, they are fed daily, provided with individual pet pods and cabins to make sure they have as much comfort as our rescued domestic cats.