The process by which individuals and businesses structure their financial affairs to minimize taxation legally.