Mupirocin is a topical antibiotic primarily used to treat bacterial skin infections. It is particularly effective against Staphylococcus aureus and Streptococcus pyogenes. In pediatrics, it is often prescribed for conditions such as impetigo and secondary skin infections following minor cuts or abrasions.