UTI explanation

Elizabeth
Can some of you please explain to me what a UTI is and how it's caused? I haven't had sex in a while but I thing I got it in a past few days