Adverse possession is a legal concept in which someone can gain ownership of a property by openly occupying it and treating it as their own for a certain period of time, usually a number of years.