Garlic has a compound called allicin that is released when the garlic is broken down. Allicin can cause your hands to smell like garlic for a few days because it causes disulfide bridges to form between the mercaptans and the proteins on your skin.