Macrobid is an antibiotic used to treat urinary tract infections (UTIs) caused by certain bacteria. It helps symptoms like burning during urination, frequent urges to urinate, and lower abdominal pain by stopping bacterial growth in the urinary tract.