This is a smart contract that stores Ether. Only the "owner" of the smart contract can send Ether from this smart contact.
[Anyone] -> "deposit" Ether -> (contract) [Owner] -> "send" Ether to friend -> (contract) (contract) -> transfer Ether to friend