If someone has bought the freehold their house is built on , but still have a mortgage on the building what would happen if the house was repossessed as the land belongs to them but not the house , also could they be forced off the land if the bank wanted to sell the house ?

Just wondering...