In summary, where there are no children, a spouse or civil partner will:
get prior rights to a share of the deceased person's house, furniture and money, up to certain financial limits
get legal rights to a share of the deceased's property other than land and buildings
appear on a list of who is entitled to get the remaining free estate (if any), but ranking lower than some other relatives.