As the name suggests, a leasehold is simply an agreement to lease a property for a specified period of time, creating a landlord-tenant relationship.
According to the terms of your agreement, you may be able to sublet the property to another party or move out of it before the leasehold is up, but this will need to be negotiated prior to signing the agreement.