Hi,
A person, who gifts a property to someone, who is not their spouse or civil partner, will be subject to Capital Gains Tax. They may be able to offset some or all of the gain using private residence relief, where the property was their main residence at some point in time. If the person who gifted the property dies within 7 tax years of the gift, then the market value of the property at the time of the gift will be included in the estate for Inheritance Tax purposes. Where the gift was to their child, including adopted, foster or stepchildren) or grandchildren, the inheritance tax threshold can be increased.
Please have a look at the guidance on Inheritance Tax at:
Inheritance Tax
Thank you.