Local councils have specific legal duties towards homeless people, homless charity Shelter have said.
If any person who is homeless or threatened with homelessness approaches the council for help, it has to provide them with advice and assistance.
Social services also have duties to sometimes help certain groups of people who become homeless, the charity have said.
These groups include:
- Most young people under the age of 18.
- People who have been in care (normally up to age 21 or up to the age of 24 if you are still in full-time education).
- People with disabilities.
- People with mental health problems older people.
Social services may also be able to help families with children but they are not legally obliged to provide accommodation where everyone can live together.
More top news
Little Sophia Williams died in a children's hospital in Edinburgh on June 5.
Dry spells over parts of Scotland in the next few days and remain dry. More rain in the north. Temperature will remain mild.
The world's largest aircraft crashed on its second test flight - despite only going 5mph.