PRNT NFT Transfer FUntion

When we use the transfer function to send an nft to another wallet, does the ownership of that nft get transferred as well to the new wallet or would the ownership stay with the original wallet?

The ownership of the NFT gets transferred to the new wallet.