What is the meaning of Mother-in-law_apartment?

A small apartment attached to or carved out of a nominally single-family house, ostensibly intended for occupancy by a mother-in-law or other relative, but potentially also rented out to a stranger.

Source: wiktionary.org