Mass Loss from Single and Close Binary Stars