Nitrofurantoin is an antibiotic commonly used to treat infections of the urinary tract caused by certain bacteria.