Cyanide inhibits cellular respiration by binding to the iron within the enzyme cytochrome c oxidase in the mitochondrial electron transport chain. This prevents cells from using oxygen, leading to a rapid decrease in ATP production and causing cells to switch to anaerobic metabolism, which results in lactic acidosis and cellular death.