Option strategy payoffs at end

How are the option strategies settled? Is there actual possession of the stock and then resold? Or are the options just sold in the open market? Take for instance a straddle…what happens at expiration of contract? Or can someone who buys a straddle sell it early? Thanks