Squatters are people who occupy and live in a property despite having no legal right to live there. It’s not a realistic housing option because squatters can easily be evicted.
Not everyone who pays rent for a room or a property is a tenant. Some only have a license to remain in that property and are “licensees”. Licensees don't have as many rights as tenants and it's much easier to evict them.